Эх сурвалжийг харах

Fix error from a previous commit, there is no data type called 'text'..

samhed 10 жил өмнө
parent
commit
b098afc234
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      include/ui.js

+ 1 - 1
include/ui.js

@@ -362,7 +362,7 @@ var UI;
             var closePopup = function() { psp.style.display = "none"; };
 
             if (window.getComputedStyle(psp).display === 'none') {
-                if (typeof text === 'text') {
+                if (typeof text === 'string') {
                     psp.innerHTML = text;
                 } else {
                     psp.innerHTML = $D('noVNC_status').innerHTML;