Add debug to submission list
This commit is contained in:
parent
300572d6da
commit
0b2c410fe5
1 changed files with 10 additions and 0 deletions
|
@ -231,6 +231,16 @@
|
|||
}
|
||||
}
|
||||
);
|
||||
receiver.onwsclose = function (event) {
|
||||
if (event.code == 1001) {
|
||||
console.log('Navigated away');
|
||||
return;
|
||||
}
|
||||
console.log('You probably should refresh?');
|
||||
// $('.ws-closed').show().find('a').click(function () {
|
||||
// window.location.reload();
|
||||
// });
|
||||
};
|
||||
return receiver;
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue