mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 16:41:30 +00:00
add new shortcuts to catchup page (z) and feed (c)
This commit is contained in:
12
functions.js
12
functions.js
@@ -261,6 +261,18 @@ function hotkey_handler(e) {
|
|||||||
return editFeedDlg(getActiveFeedId());
|
return editFeedDlg(getActiveFeedId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (keycode == 67) { // c
|
||||||
|
if (getActiveFeedId()) {
|
||||||
|
return catchupCurrentFeed();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (keycode == 90) { // z
|
||||||
|
if (getActiveFeedId()) {
|
||||||
|
return catchupPage();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (typeof localHotkeyHandler != 'undefined') {
|
if (typeof localHotkeyHandler != 'undefined') {
|
||||||
try {
|
try {
|
||||||
return localHotkeyHandler(e);
|
return localHotkeyHandler(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user