diff options
author | Andrew Dolgov <[email protected]> | 2018-12-01 08:59:30 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-01 08:59:30 +0300 |
commit | 669077c6ad41c88bc8b7318e749cc136519e048b (patch) | |
tree | 9250e284af28f9d1388e7baeb7ba778b97c69414 /js/tt-rss.js | |
parent | a2ef54cd927a7c1d92efc14f7178bde53c8e56cb (diff) |
refactor selection toggle functions; other minor cleanup
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 07dd0d10d..567203623 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -303,13 +303,13 @@ function init_hotkey_actions() { search(); }; hotkey_actions["toggle_mark"] = function() { - selectionToggleMarked(undefined, false, true); + selectionToggleMarked(); }; hotkey_actions["toggle_publ"] = function() { - selectionTogglePublished(undefined, false, true); + selectionTogglePublished(); }; hotkey_actions["toggle_unread"] = function() { - selectionToggleUnread(undefined, false, true); + selectionToggleUnread({no_error: 1}); }; hotkey_actions["edit_tags"] = function() { const id = getActiveArticleId(); |