diff options
author | Andrew Dolgov <[email protected]> | 2020-05-09 07:56:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-05-09 07:56:06 +0300 |
commit | 2558fcbe21f009e8fd9b18d9d1407bf4e6115443 (patch) | |
tree | df60d3545b77964c75032f64e274910d10d73405 /js | |
parent | c8243b03c9194e6522fed4d2d582cec9f7a544d5 (diff) |
add hotkey "\" to cancel current search
Diffstat (limited to 'js')
-rw-r--r-- | js/tt-rss.js | 3 |
1 files changed, 3 insertions, 0 deletions
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(); }; |