]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Fix status class for IE
authorSamuel Mannehed <samuel@cendio.se>
Thu, 16 Feb 2017 14:24:53 +0000 (15:24 +0100)
committerSamuel Mannehed <samuel@cendio.se>
Thu, 16 Feb 2017 15:07:55 +0000 (16:07 +0100)
IE apparently doesn't support removing several class specifiers at
once, so switch to several calls.

app/ui.js

index 7d4f0811d7a61ab5f2e28cb17dc6d6993611581c..75eeab9293c09396b67b67e26f750fb60ae2f8b0 100644 (file)
--- a/app/ui.js
+++ b/app/ui.js
@@ -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':