Fix status class for IE

IE apparently doesn't support removing several class specifiers at
once, so switch to several calls.
This commit is contained in:
Samuel Mannehed 2017-02-16 15:24:53 +01:00
parent b18ef8162e
commit 631428d966
1 changed files with 3 additions and 3 deletions

View File

@ -560,9 +560,9 @@ var UI;
status_type = 'normal';
}
statusElem.classList.remove("noVNC_status_normal",
"noVNC_status_warn",
"noVNC_status_error");
statusElem.classList.remove("noVNC_status_normal");
statusElem.classList.remove("noVNC_status_warn");
statusElem.classList.remove("noVNC_status_error");
switch (status_type) {
case 'warning':