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:
parent
b18ef8162e
commit
631428d966
|
@ -560,9 +560,9 @@ var UI;
|
||||||
status_type = 'normal';
|
status_type = 'normal';
|
||||||
}
|
}
|
||||||
|
|
||||||
statusElem.classList.remove("noVNC_status_normal",
|
statusElem.classList.remove("noVNC_status_normal");
|
||||||
"noVNC_status_warn",
|
statusElem.classList.remove("noVNC_status_warn");
|
||||||
"noVNC_status_error");
|
statusElem.classList.remove("noVNC_status_error");
|
||||||
|
|
||||||
switch (status_type) {
|
switch (status_type) {
|
||||||
case 'warning':
|
case 'warning':
|
||||||
|
|
Loading…
Reference in New Issue