mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
disconnect modal
This commit is contained in:
@@ -33,10 +33,9 @@ var socket,
|
||||
});
|
||||
|
||||
socket.on('disconnect', function(data){
|
||||
$('#disconnect-modal').show();
|
||||
$('#disconnect-modal').modal('show');
|
||||
$('#reload-button').on('click',function(){
|
||||
$('#disconnect-modal').hide();
|
||||
console.log(window.location.href);
|
||||
$('#disconnect-modal').modal('hide');
|
||||
window.location.reload();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user