Remove onwsclose in templates
This commit is contained in:
parent
ac0b7afc1a
commit
300572d6da
2 changed files with 0 additions and 17 deletions
|
@ -110,13 +110,6 @@ let META_HEADER = [
|
|||
}
|
||||
}
|
||||
);
|
||||
receiver.onwsclose = function (event) {
|
||||
if (event.code == 1001) {
|
||||
console.log('Navigated away');
|
||||
return;
|
||||
}
|
||||
console.log('Refreshing ws');
|
||||
};
|
||||
|
||||
return receiver;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue