diff options
author | Samuel Mannehed <samuel@cendio.se> | 2016-10-01 00:00:06 +0200 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2016-10-01 01:34:31 +0200 |
commit | 74a4a2b46866ec8cd91aff02b309090004a8e9d2 (patch) | |
tree | 6959679baf3f3bfbad8aaf868a12df349bb64f78 | |
parent | 7520ba52d8fa2c94b1d73abb4bee79c97401c107 (diff) | |
download | novnc-74a4a2b46866ec8cd91aff02b309090004a8e9d2.tar.gz |
Do not timeout error messages
-rw-r--r-- | app/ui.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } }, |