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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user