fix previous
This commit is contained in:
parent
63c7446a79
commit
d7cc5e6cdd
1 changed files with 1 additions and 1 deletions
|
@ -1268,7 +1268,7 @@ function headlines_scroll_handler(e) {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
// rate-limit in case of smooth scrolling and similar abominations
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue