mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:15:55 +00:00
remove some obsolete stuff, fix minor issues found by code analyzer
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user