From d7cc5e6cdd970a082486b26142a29387b6ade220 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 Mar 2016 12:51:15 +0300 Subject: [PATCH] fix previous --- js/viewfeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/viewfeed.js b/js/viewfeed.js index 83ef3ac6..c70e2877 100755 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1268,7 +1268,7 @@ function headlines_scroll_handler(e) { try { // rate-limit in case of smooth scrolling and similar abominations - if (e.scrollTop - _headlines_scroll_offset < 10) { + if (Math.max(e.scrollTop, _headlines_scroll_offset) - Math.min(e.scrollTop, _headlines_scroll_offset) < 25) { return; } -- 2.39.5