reset reconnect tries to 0 after a succesfull reconnect

v1.18.x
Baris Usakli 12 years ago
parent ce769a87ef
commit 5df7af6075

@ -43,6 +43,7 @@ var socket,
});
}, 1000);
reconnecting = false;
reconnectTries = 0;
socket.emit('api:updateHeader', { fields: ['username', 'picture', 'userslug'] });
}
});

Loading…
Cancel
Save