Added window reload on leave
This commit is contained in:
parent
96d3e1b92b
commit
23378403f3
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ function inmeta2(){
|
|||
}
|
||||
socket.onclose = function(){
|
||||
console.log('CLOSE');
|
||||
$('#chatlog').append('Disconnected!');
|
||||
$('#chatlog').append('Disconnected!<script language=\"JavaScript\">window.parent.doit=false; window.parent.location=\"//funch.at/\";</script>');
|
||||
window.onbeforeunload = null;
|
||||
if(as!=false){
|
||||
$('#chatlog').slimscroll({ scrollBy : '5000px' });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue