Fix double setupCallbacks()

This commit is contained in:
Calvin Montgomery 2018-07-11 21:32:31 -07:00
parent 3322e5404f
commit 3584b124e3
1 changed files with 1 additions and 2 deletions

View File

@ -1227,8 +1227,6 @@ function initSocket(socketConfig) {
} else {
initSocketIO(socketConfig);
}
setupCallbacks();
}
function initSocketIO(socketConfig) {
@ -1311,6 +1309,7 @@ function initWS(servers) {
console.log('Using WSShim');
console.log("Connecting to " + JSON.stringify(servers[0]));
window.socket = new WSShim(servers[0].url);
setupCallbacks();
}
(function () {