mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 00:45:47 +01:00
attempt at fixing issues on safari, in progress
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user