mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-07 04:49:38 +00:00
Fix error from a previous commit, there is no data type called 'text'..
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user