1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-24 11:56:36 +02:00

move r and q hotkeys to prefix f

This commit is contained in:
Andrew Dolgov 2009-01-17 10:48:25 +01:00
parent c4f56bed5f
commit 617698d710

View File

@ -1095,13 +1095,6 @@ function hotkey_handler(e) {
return; return;
} }
if (keycode == 82) { // r
if (getActiveFeedId()) {
viewfeed(getActiveFeedId(), "ForceUpdate", activeFeedIsCat());
return;
}
}
if (keycode == 74) { // j if (keycode == 74) { // j
var feed = getActiveFeedId(); var feed = getActiveFeedId();
var new_feed = getRelativeFeedId2(feed, activeFeedIsCat(), 'prev'); var new_feed = getRelativeFeedId2(feed, activeFeedIsCat(), 'prev');
@ -1229,13 +1222,6 @@ function hotkey_handler(e) {
} }
} }
if (keycode == 81) { // q
if (getActiveFeedId()) {
catchupCurrentFeed();
return;
}
}
if (keycode == 220 && shift_key) { // shift + | if (keycode == 220 && shift_key) { // shift + |
if (document.getElementById("subtoolbar_search")) { if (document.getElementById("subtoolbar_search")) {
if (Element.visible("subtoolbar_search")) { if (Element.visible("subtoolbar_search")) {
@ -1262,6 +1248,20 @@ function hotkey_handler(e) {
hotkey_prefix = false; hotkey_prefix = false;
if (keycode == 81) { // q
if (getActiveFeedId()) {
catchupCurrentFeed();
return;
}
}
if (keycode == 82) { // r
if (getActiveFeedId()) {
viewfeed(getActiveFeedId(), "ForceUpdate", activeFeedIsCat());
return;
}
}
if (keycode == 65) { // a if (keycode == 65) { // a
toggleDispRead(); toggleDispRead();
return false; return false;