diff options
author | Daniel Andersson <[email protected]> | 2013-03-27 12:17:04 +0100 |
---|---|---|
committer | Daniel Andersson <[email protected]> | 2013-03-27 12:17:04 +0100 |
commit | cee09850f161800eb2ddfe7d420a34d122a7798e (patch) | |
tree | aefb6f4fbac1fdbe223e99b1cafa538a3e0f1094 | |
parent | f81a4df3236f9a3475d5fb2123a1422e48e69ea2 (diff) |
Default scroll length closer to expected (i.e. browser default).
-rw-r--r-- | js/tt-rss.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 7f8a7b61a..8ba8f6bcf 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -325,12 +325,12 @@ function init() { hotkey_actions["article_scroll_down"] = function() { var ctr = $("content_insert") ? $("content_insert") : $("headlines-frame"); - scrollArticle(ctr.offsetHeight/3); + scrollArticle(40); }; hotkey_actions["article_scroll_up"] = function() { var ctr = $("content_insert") ? $("content_insert") : $("headlines-frame"); - scrollArticle(-ctr.offsetHeight/3); + scrollArticle(-40); }; hotkey_actions["close_article"] = function() { if (isCdmMode()) { |