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