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
1 changed files with 14 additions and 14 deletions

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;