summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--help/3.php4
-rw-r--r--tt-rss.js14
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>
diff --git a/tt-rss.js b/tt-rss.js
index 3b16e13f8..587ea198e 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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 */