From 669077c6ad41c88bc8b7318e749cc136519e048b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 1 Dec 2018 08:59:30 +0300 Subject: refactor selection toggle functions; other minor cleanup --- js/tt-rss.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/tt-rss.js') 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(); -- cgit v1.2.3