hotkeys: change f c and f C to q and Q
This commit is contained in:
parent
eec498c3d5
commit
c17802891e
|
@ -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>
|
||||
|
|
14
tt-rss.js
14
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 */
|
||||
|
|
Loading…
Reference in New Issue