From: Andrew Dolgov Date: Tue, 22 Mar 2016 09:51:15 +0000 (+0300) Subject: fix previous X-Git-Tag: 16.3~8 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d7cc5e6cdd970a082486b26142a29387b6ade220;p=tt-rss.git fix previous --- 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; }