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

This commit is contained in:
samhed 2015-06-25 22:34:44 +02:00
parent 74f2ac968d
commit b098afc234
1 changed files with 1 additions and 1 deletions

View File

@ -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;