modifié: video.html
This commit is contained in:
parent
77b96cd72b
commit
9eaa349025
@ -19,7 +19,7 @@
|
|||||||
console.log("connection closed");
|
console.log("connection closed");
|
||||||
};
|
};
|
||||||
|
|
||||||
window.onunload=function(){
|
window.onbeforeunload=function(){
|
||||||
ws.close();
|
ws.close();
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user