mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
if the user updates their email change the email uid mapping, added 500ms delay to the disconnect modal
This commit is contained in:
@@ -33,11 +33,13 @@ var socket,
|
||||
});
|
||||
|
||||
socket.on('disconnect', function(data){
|
||||
$('#disconnect-modal').modal('show');
|
||||
$('#reload-button').on('click',function(){
|
||||
$('#disconnect-modal').modal('hide');
|
||||
window.location.reload();
|
||||
});
|
||||
setTimeout(function() {
|
||||
$('#disconnect-modal').modal('show');
|
||||
$('#reload-button').on('click',function(){
|
||||
$('#disconnect-modal').modal('hide');
|
||||
window.location.reload();
|
||||
});
|
||||
}, 500);
|
||||
});
|
||||
},
|
||||
async: false
|
||||
|
||||
Reference in New Issue
Block a user