]> git.wh0rd.org - tt-rss.git/blobdiff - js/tt-rss.js
remove some obsolete stuff, fix minor issues found by code analyzer
[tt-rss.git] / js / tt-rss.js
index b498b5e998e005bb80c2dbe570a21b36cf71d229..4df1b04eeded6bf503477494b069c2f6d9e7b72e 100644 (file)
@@ -365,7 +365,6 @@ function init_hotkey_actions() {
        hotkey_actions["open_in_new_window"] = function() {
                if (getActiveArticleId()) {
                        openArticleInNewWindow(getActiveArticleId());
-                       return;
                }
        };
        hotkey_actions["catchup_below"] = function() {
@@ -375,13 +374,9 @@ function init_hotkey_actions() {
                catchupRelativeToArticle(0);
        };
        hotkey_actions["article_scroll_down"] = function() {
-               var ctr = $("content_insert") ? $("content_insert") : $("headlines-frame");
-
                scrollArticle(40);
        };
        hotkey_actions["article_scroll_up"] = function() {
-               var ctr = $("content_insert") ? $("content_insert") : $("headlines-frame");
-
                scrollArticle(-40);
        };
        hotkey_actions["close_article"] = function() {