Embed: stop error message countdowns when their buttons are removed

This commit is contained in:
Cat 2020-08-06 17:06:13 +02:00 committed by Thulinma
parent 6a88fec5cb
commit 84d2cd635e
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -1859,6 +1859,7 @@ MistSkins["default"] = {
else {
container.removeAttribute("data-passive");
}
if (showingError) { container.clear(); } //stop any countdowns still running
showingError = (options.passive ? "passive" : true);
since = (new Date()).getTime();