diff options
-rw-r--r-- | skins/larry/ui.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js index 786e3546c..ac2d551ae 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -440,7 +440,8 @@ function rcube_mail_ui() me.messagedialog.closest('div[role=dialog]').attr('role', 'alertdialog'); - me.message_timer = window.setTimeout(dialog_close, p.timeout); + if (p.timeout > 0) + me.message_timer = window.setTimeout(dialog_close, p.timeout); } } |