diff options
author | Andrew Dolgov <[email protected]> | 2016-03-22 12:51:15 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-03-22 12:51:15 +0300 |
commit | d7cc5e6cdd970a082486b26142a29387b6ade220 (patch) | |
tree | 119c500838e4dd4b3b4fb350ba4cd22ec883eb76 | |
parent | 63c7446a791ef1b9fddc37940685a19f20dd7190 (diff) |
fix previous
-rwxr-xr-x | js/viewfeed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index 83ef3ac60..c70e2877e 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; } |