mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-30 00:49:38 +00:00
Fix forcing of web-socket-js even when native available.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
(function() {
|
||||
|
||||
if (window.WebSocket) return;
|
||||
if (window.WebSocket && !window.WEB_SOCKET_FORCE_FLASH) return;
|
||||
|
||||
var console = window.console;
|
||||
if (!console || !console.log || !console.error) {
|
||||
|
||||
Reference in New Issue
Block a user