diff --git a/messagegui/app.js b/messagegui/app.js index 76ce5ee..ec9fff8 100644 --- a/messagegui/app.js +++ b/messagegui/app.js @@ -359,8 +359,13 @@ function showMessage(msgid) { function checkMessages(options) { options=options||{}; - if (MESSAGES.length && MESSAGES[0].title == "Timer") { + var goBack = false; + while (MESSAGES.length && MESSAGES[0].title == "Timer") { MESSAGES.pop(0); + goBack = true; + } + + if (goBack) { return load(); }