Fix web-socket-js loading issue.

This commit is contained in:
Joel Martin
2010-05-17 17:11:13 -05:00
parent 97763d0eb8
commit 8fe2c2f915
4 changed files with 5 additions and 2 deletions

View File

@@ -302,10 +302,12 @@
console.error(decodeURIComponent(message));
}
/*
if (window.addEventListener) {
window.addEventListener("load", WebSocket.__initialize, false);
} else {
window.attachEvent("onload", WebSocket.__initialize);
}
*/
})();