diff options
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-x | js/Headlines.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/Headlines.js b/js/Headlines.js index 3c98bef6c..4382e04f7 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -1381,6 +1381,12 @@ define(["dojo/_base/declare"], function (declare) { } }, + scrollByPages: function (offset) { + const hi = $("headlines-frame"); + if (hi) { + hi.scrollTop += hi.offsetHeight * offset * 0.9; + } + }, initHeadlinesMenu: function () { if (!dijit.byId("headlinesMenu")) { |