Delete all new Timer messages
This commit is contained in:
parent
443921c30e
commit
13d9596978
|
@ -359,8 +359,13 @@ function showMessage(msgid) {
|
||||||
function checkMessages(options) {
|
function checkMessages(options) {
|
||||||
options=options||{};
|
options=options||{};
|
||||||
|
|
||||||
if (MESSAGES.length && MESSAGES[0].title == "Timer") {
|
var goBack = false;
|
||||||
|
while (MESSAGES.length && MESSAGES[0].title == "Timer") {
|
||||||
MESSAGES.pop(0);
|
MESSAGES.pop(0);
|
||||||
|
goBack = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (goBack) {
|
||||||
return load();
|
return load();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user