From 7a68e4a6f72650c5a9c43cdd49383a1992fc5df9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 9 Dec 2019 12:22:43 +0300 Subject: pgup/pgdn; increase scroll distance to almost entire viewport height (from 90%) --- js/Article.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Article.js') 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; } } -- cgit v1.2.3-54-g00ecf