From 0518510814ffaca80d277bdf1a20fc3b44271f65 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 4 Dec 2017 11:02:13 +0300 Subject: remove some obsolete stuff, fix minor issues found by code analyzer --- js/tt-rss.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'js/tt-rss.js') diff --git a/js/tt-rss.js b/js/tt-rss.js index b498b5e99..4df1b04ee 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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() { -- cgit v1.2.3