You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, it's easy to get things wrong and call timeago() multiple times on the same element. It would be great if the init function would in this case not set a new interval without clearing the old one, e.g. if you'd replace
if ($s.refreshMillis > 0) {
this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis);
}
Apparently, it's easy to get things wrong and call
timeago()
multiple times on the same element. It would be great if theinit
function would in this case not set a new interval without clearing the old one, e.g. if you'd replacewith
The text was updated successfully, but these errors were encountered: