diff options
author | Andrew Dolgov <[email protected]> | 2008-05-18 04:54:49 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-05-18 04:54:49 +0100 |
commit | c17802891e0fcbc3d3edb1b3b0530f8056d61de9 (patch) | |
tree | 2522ffabdef826429fdb03aa3809deb53296ac6a | |
parent | eec498c3d5ce6b13560502e09195de93f1879b45 (diff) |
hotkeys: change f c and f C to q and Q
-rw-r--r-- | help/3.php | 4 | ||||
-rw-r--r-- | tt-rss.js | 14 |
2 files changed, 16 insertions, 2 deletions
diff --git a/help/3.php b/help/3.php index 0e20a8cf0..633f5c903 100644 --- a/help/3.php +++ b/help/3.php @@ -41,8 +41,8 @@ <tr><td class='n'>f a</td><td><?php echo __("(Un)hide read feeds") ?></td></tr> <tr><td class='n'>f s</td><td><?php echo __("Subscribe to feed") ?></td></tr> <tr><td class='n'>f e</td><td><?php echo __("Edit feed") ?></td></tr> - <tr><td class='n'>f c</td><td><?php echo __("Mark feed as read") ?></td></tr> - <tr><td class='n'>f C</td><td><?php echo __("Mark all feeds as read") ?></td></tr> + <tr><td class='n'>q</td><td><?php echo __("Mark feed as read") ?></td></tr> + <tr><td class='n'>Q</td><td><?php echo __("Mark all feeds as read") ?></td></tr> </table> <h2><?php echo __("Go to...") ?></h2> @@ -1092,6 +1092,20 @@ function hotkey_handler(e) { } } + if (keycode == 81 && shift_key) { // Q + if (typeof catchupAllFeeds != 'undefined') { + catchupAllFeeds(); + return false; + } + } + + if (keycode == 81) { // q + if (getActiveFeedId()) { + catchupCurrentFeed(); + return false; + } + } + } /* Prefix f */ |