summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-03-22 12:51:15 +0300
committerAndrew Dolgov <[email protected]>2016-03-22 12:51:15 +0300
commitd7cc5e6cdd970a082486b26142a29387b6ade220 (patch)
tree119c500838e4dd4b3b4fb350ba4cd22ec883eb76 /js
parent63c7446a791ef1b9fddc37940685a19f20dd7190 (diff)
fix previous
Diffstat (limited to 'js')
-rwxr-xr-xjs/viewfeed.js2
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;
}