diff --git a/include/rfb.js b/include/rfb.js index b265a1fe..9fb58d95 100644 --- a/include/rfb.js +++ b/include/rfb.js @@ -358,7 +358,7 @@ updateState = function(state, statusMsg) { (state === 'loaded')) { // Show noVNC logo on load and when disconnected if // debug is off - if (noVNC_logo) { + if (typeof noVNC_logo !== 'undefined' && noVNC_logo) { canvas.resize(noVNC_logo.width, noVNC_logo.height); canvas.blitStringImage(noVNC_logo.data, 0, 0); }