summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsamhed <samuel@cendio.se>2015-06-25 22:34:44 +0200
committersamhed <samuel@cendio.se>2015-06-25 22:34:44 +0200
commitb098afc234528af8d3e6d708226d8839d8132d20 (patch)
treed918ec6ba60c535cf0a953caecb0385defaa41f1
parent74f2ac968d782318967d9162454ca945dcc8b3de (diff)
downloadnovnc-b098afc234528af8d3e6d708226d8839d8132d20.tar.gz
Fix error from a previous commit, there is no data type called 'text'..
-rw-r--r--include/ui.js2
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;