From 561ebea362424ffb9f437627e6ba9f0a2d8ccd6a Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 24 Jun 2013 15:34:44 -0400 Subject: [PATCH] attempt at fixing issues on safari, in progress --- public/src/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/src/app.js b/public/src/app.js index 93d5bbd181..d032a303b4 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -42,6 +42,7 @@ var socket, }); }, 1000); reconnecting = false; + socket.emit('api:updateHeader', { fields: ['username', 'picture', 'userslug'] }); } }); @@ -110,7 +111,7 @@ var socket, function startTimeout(div, timeout) { var timeoutId = setTimeout(function() { $(div).fadeOut(1000, function() { - this.remove(); + $(this).remove(); }); }, timeout);