From b098afc234528af8d3e6d708226d8839d8132d20 Mon Sep 17 00:00:00 2001 From: samhed Date: Thu, 25 Jun 2015 22:34:44 +0200 Subject: [PATCH] Fix error from a previous commit, there is no data type called 'text'.. --- include/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ui.js b/include/ui.js index 6cfe5b5a..3d3c41e3 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;