attempt at fixing issues on safari, in progress

This commit is contained in:
psychobunny
2013-06-24 15:34:44 -04:00
parent a6ff96c455
commit 561ebea362

View File

@@ -42,6 +42,7 @@ var socket,
}); });
}, 1000); }, 1000);
reconnecting = false; reconnecting = false;
socket.emit('api:updateHeader', { fields: ['username', 'picture', 'userslug'] });
} }
}); });
@@ -110,7 +111,7 @@ var socket,
function startTimeout(div, timeout) { function startTimeout(div, timeout) {
var timeoutId = setTimeout(function() { var timeoutId = setTimeout(function() {
$(div).fadeOut(1000, function() { $(div).fadeOut(1000, function() {
this.remove(); $(this).remove();
}); });
}, timeout); }, timeout);