summaryrefslogtreecommitdiff
path: root/skins/larry
diff options
context:
space:
mode:
Diffstat (limited to 'skins/larry')
-rw-r--r--skins/larry/ui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 47a68970c..f25c4fc1c 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -472,7 +472,8 @@ function rcube_mail_ui()
minHeight: 90
}).show();
- me.message_timer = window.setTimeout(dialog_close, p.timeout);
+ if (p.timeout > 0)
+ me.message_timer = window.setTimeout(dialog_close, p.timeout);
}
}