1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:15:56 +00:00

add hotkey for toggling VFEED_GROUP_BY_FEED preference

This commit is contained in:
Andrew Dolgov
2016-07-26 15:55:00 +03:00
parent 76ba1df76e
commit 64c24ecb59
2 changed files with 12 additions and 0 deletions

View File

@@ -441,6 +441,16 @@ function init() {
hotkey_actions["feed_reverse"] = function() {
reverseHeadlineOrder();
};
hotkey_actions["feed_toggle_vgroup"] = function() {
var query_str = "?op=rpc&method=togglepref&key=VFEED_GROUP_BY_FEED";
new Ajax.Request("backend.php", {
parameters: query_str,
onComplete: function(transport) {
viewCurrentFeed();
} });
};
hotkey_actions["catchup_all"] = function() {
catchupAllFeeds();
};