From 74a4a2b46866ec8cd91aff02b309090004a8e9d2 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Sat, 1 Oct 2016 00:00:06 +0200 Subject: [PATCH] Do not timeout error messages --- app/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ui.js b/app/ui.js index 13c00247..c77b7dd1 100644 --- a/app/ui.js +++ b/app/ui.js @@ -470,8 +470,8 @@ var UI; time = 1500; } - // A specified time of zero means no timeout - if (time != 0) { + // Error messages do not timeout + if (status_type !== 'error') { UI.statusTimeout = window.setTimeout(UI.hideStatus, time); } },