mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-06 04:19:41 +00:00
Fix web-socket-js loading issue.
This commit is contained in:
@@ -302,10 +302,12 @@
|
||||
console.error(decodeURIComponent(message));
|
||||
}
|
||||
|
||||
/*
|
||||
if (window.addEventListener) {
|
||||
window.addEventListener("load", WebSocket.__initialize, false);
|
||||
} else {
|
||||
window.attachEvent("onload", WebSocket.__initialize);
|
||||
}
|
||||
*/
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user