Embed: stop error message countdowns when their buttons are removed
This commit is contained in:
parent
6a88fec5cb
commit
84d2cd635e
2 changed files with 2 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
@ -1859,6 +1859,7 @@ MistSkins["default"] = {
|
||||||
else {
|
else {
|
||||||
container.removeAttribute("data-passive");
|
container.removeAttribute("data-passive");
|
||||||
}
|
}
|
||||||
|
if (showingError) { container.clear(); } //stop any countdowns still running
|
||||||
|
|
||||||
showingError = (options.passive ? "passive" : true);
|
showingError = (options.passive ? "passive" : true);
|
||||||
since = (new Date()).getTime();
|
since = (new Date()).getTime();
|
||||||
|
|
Loading…
Add table
Reference in a new issue