mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:45:56 +00:00
refactor selection toggle functions; other minor cleanup
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user