Do not timeout error messages

This commit is contained in:
Samuel Mannehed 2016-10-01 00:00:06 +02:00
parent 7520ba52d8
commit 74a4a2b468
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
},