1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 21:25:55 +00:00

fix previous

This commit is contained in:
Andrew Dolgov
2016-03-22 12:51:15 +03:00
parent 63c7446a79
commit d7cc5e6cdd

View File

@@ -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;
}