summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
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;
}