summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-27 05:28:53 -0700
committerAndrew Dolgov <[email protected]>2013-03-27 05:28:53 -0700
commit2e2f672e559c4a605288992e7097cb2daff3ddcb (patch)
treeee6404063915602aabe581cf5a662460e8a0dbc9 /js
parent65f85248ce3afefd4646fe2bbff2d19d9c7e1fc3 (diff)
parentcee09850f161800eb2ddfe7d420a34d122a7798e (diff)
Merge pull request #95 from dandersson/scroll_length
Default scroll length closer to expected (i.e. browser default).
Diffstat (limited to 'js')
-rw-r--r--js/tt-rss.js4
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()) {