1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02:00

Default scroll length closer to expected (i.e. browser default).

This commit is contained in:
Daniel Andersson 2013-03-27 12:17:04 +01:00
parent f81a4df323
commit cee09850f1

View File

@ -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()) {