fix previous

This commit is contained in:
Andrew Dolgov 2016-03-22 12:51:15 +03:00
parent 63c7446a79
commit d7cc5e6cdd
1 changed files with 1 additions and 1 deletions

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