summaryrefslogtreecommitdiff
path: root/js/Article.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-12-09 12:22:43 +0300
committerAndrew Dolgov <[email protected]>2019-12-09 12:22:43 +0300
commit7a68e4a6f72650c5a9c43cdd49383a1992fc5df9 (patch)
tree778db0405be3a91fb8084ce08ff69c3a99df4837 /js/Article.js
parent6191c48596138c8cfa6291d178f7a7b12e86285b (diff)
pgup/pgdn; increase scroll distance to almost entire viewport height (from 90%)
Diffstat (limited to 'js/Article.js')
-rw-r--r--js/Article.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Article.js b/js/Article.js
index 1135fde02..468388789 100644
--- a/js/Article.js
+++ b/js/Article.js
@@ -318,12 +318,12 @@ define(["dojo/_base/declare"], function (declare) {
if (!App.isCombinedMode()) {
const ci = $("content-insert");
if (ci) {
- ci.scrollTop += ci.offsetHeight * offset * 0.9;
+ ci.scrollTop += ci.offsetHeight * offset * 0.99;
}
} else {
const hi = $("headlines-frame");
if (hi) {
- hi.scrollTop += hi.offsetHeight * offset * 0.9;
+ hi.scrollTop += hi.offsetHeight * offset * 0.99;
}
}