disconnect modal

v1.18.x
Baris Usakli 12 years ago
parent 0e39acb366
commit 5c2efafa0b

@ -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();
}); });
}); });

Loading…
Cancel
Save