From: Andrew Dolgov Date: Mon, 19 May 2008 10:27:10 +0000 (+0100) Subject: shortcuts: remove blocking of some alpha characters X-Git-Tag: 1.2.23-final~48 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=19d7bfcd1dd95d121ba30db21e068d200132b97d;p=tt-rss.git shortcuts: remove blocking of some alpha characters --- diff --git a/tt-rss.js b/tt-rss.js index de7005bb..5c13ca57 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -974,7 +974,6 @@ function hotkey_handler(e) { document.getElementById('debug_output').style.display = 'none'; } - debug_mode_enabled = !debug_mode_enabled; return; } @@ -995,7 +994,7 @@ function hotkey_handler(e) { if (keycode == 82 && shift_key) { // R scheduleFeedUpdate(true); - return false; + return; } if (keycode == 82) { // r @@ -1009,37 +1008,37 @@ function hotkey_handler(e) { var feed = getActiveFeedId(); var new_feed = getRelativeFeedId(feedlist, feed, 'prev'); if (new_feed) viewfeed(new_feed, ''); - return false; + return; } if (keycode == 75) { // k var feed = getActiveFeedId(); var new_feed = getRelativeFeedId(feedlist, feed, 'next'); if (new_feed) viewfeed(new_feed, ''); - return false; + return; } if (shift_key && (keycode == 78 || keycode == 40)) { // shift - n, down catchupRelativeToArticle(1); - return false; + return; } if (shift_key && (keycode == 80 || keycode == 38)) { // shift - p, up catchupRelativeToArticle(0); - return false; + return; } if (keycode == 78 || keycode == 40) { // n, down if (typeof moveToPost != 'undefined') { moveToPost('next'); - return false; + return; } } if (keycode == 80 || keycode == 38) { // p, up if (typeof moveToPost != 'undefined') { moveToPost('prev'); - return false; + return; } } @@ -1048,7 +1047,7 @@ function hotkey_handler(e) { if (id) { togglePub(id); } - return false; + return; } if (keycode == 83) { // s @@ -1056,7 +1055,7 @@ function hotkey_handler(e) { if (id) { toggleMark(id); } - return false; + return; } @@ -1065,14 +1064,14 @@ function hotkey_handler(e) { if (id) { toggleUnread(id); } - return false; + return; } if (keycode == 84 && shift_key) { // T var id = getActiveArticleId(); if (id) { editArticleTags(id, getActiveFeedId(), isCdmMode()); - return false; + return; } } @@ -1092,7 +1091,7 @@ function hotkey_handler(e) { if (keycode == 79) { // o if (getActiveArticleId()) { openArticleInNewWindow(getActiveArticleId()); - return false; + return; } }