]> git.proxmox.com Git - mirror_novnc.git/commitdiff
requestDesktopSize() should always return a value
authorSamuel Mannehed <samuel@cendio.se>
Fri, 4 Nov 2016 12:00:14 +0000 (13:00 +0100)
committerSamuel Mannehed <samuel@cendio.se>
Thu, 10 Nov 2016 13:33:23 +0000 (14:33 +0100)
core/rfb.js

index 421bf540329faa2fa5e1f60f319eee1212538c8c..e3238241d112852a518299b3e8cd705391cb358d 100644 (file)
         requestDesktopSize: function (width, height) {
             if (this._rfb_connection_state !== 'connected' ||
                 this._view_only) {
-                return;
+                return false;
             }
 
             if (this._supportsSetDesktopSize) {