Commit b098afc2 authored by samhed's avatar samhed

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

parent 74f2ac96
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment