possible fix for #1467

v1.18.x
barisusakli 11 years ago
parent dea4b78cb9
commit 936530dc48

@ -117,7 +117,7 @@ var socket,
});
socket.on('reconnecting', function (data, attempt) {
if(attempt === config.maxReconnectionAttempts) {
if(attempt === parseInt(config.maxReconnectionAttempts, 10)) {
socket.socket.reconnectionAttempts = 0;
socket.socket.reconnectionDelay = config.reconnectionDelay;
return;

Loading…
Cancel
Save