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:
10
js/tt-rss.js
10
js/tt-rss.js
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user