1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:35:57 +00:00

fix fatal error in previous because of event not being passed via Headlines.move()

scrollbypages, etc: make event optional anyway
This commit is contained in:
Andrew Dolgov
2019-12-09 23:23:54 +03:00
parent e7dd634183
commit 44ef447c0f
3 changed files with 24 additions and 18 deletions

View File

@@ -338,7 +338,7 @@ define(["dojo/_base/declare"], function (declare) {
elem = $("headlines-frame");
}
if (event.repeat) {
if (event && event.repeat) {
elem.addClassName("forbid-smooth-scroll");
window.clearTimeout(this._scroll_reset_timeout);