mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-13 19:22:05 +00:00
Fix double setupCallbacks()
This commit is contained in:
parent
3322e5404f
commit
3584b124e3
1 changed files with 1 additions and 2 deletions
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue