From 2558fcbe21f009e8fd9b18d9d1407bf4e6115443 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 9 May 2020 07:56:06 +0300 Subject: add hotkey "\" to cancel current search --- js/tt-rss.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/tt-rss.js') diff --git a/js/tt-rss.js b/js/tt-rss.js index b57bca656..0e970205c 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -305,6 +305,9 @@ require(["dojo/_base/kernel", this.hotkey_actions["search_dialog"] = function () { Feeds.search(); }; + this.hotkey_actions["cancel_search"] = function () { + Feeds.cancelSearch(); + }; this.hotkey_actions["toggle_mark"] = function () { Headlines.selectionToggleMarked(); }; -- cgit v1.2.3