diff options
author | samhed <samuel@cendio.se> | 2015-06-25 22:34:44 +0200 |
---|---|---|
committer | samhed <samuel@cendio.se> | 2015-06-25 22:34:44 +0200 |
commit | b098afc234528af8d3e6d708226d8839d8132d20 (patch) | |
tree | d918ec6ba60c535cf0a953caecb0385defaa41f1 | |
parent | 74f2ac968d782318967d9162454ca945dcc8b3de (diff) | |
download | novnc-b098afc234528af8d3e6d708226d8839d8132d20.tar.gz |
Fix error from a previous commit, there is no data type called 'text'..
-rw-r--r-- | include/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ui.js b/include/ui.js index 6cfe5b5..3d3c41e 100644 --- a/include/ui.js +++ b/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; |