]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix previous
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Tue, 22 Mar 2016 09:51:15 +0000 (12:51 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Tue, 22 Mar 2016 09:51:15 +0000 (12:51 +0300)
js/viewfeed.js

index 83ef3ac6006d7795dd4fff113c08f54b8435ae83..c70e2877e92dda63d31b1d4cf81ba384cb094f29 100755 (executable)
@@ -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;
                }