X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=1675c30bc8072aaa97d4d248caf807a6c5f59dcd;hp=709cccc44a6b474adcbaf8e17effa204a9be8271;hb=09d375717c256a2cbd71a5d3b3a4e21aee17c0ec;hpb=23ecf00824691b5622b468e0409fc543c87d75dc diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 709cccc4..1675c30b 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -248,12 +248,12 @@ export default { break; case "killed": // I logged in elsewhere: - alert(this.st.tr["New connexion detected: tab now offline"]); // TODO: this fails. See https://github.com/websockets/ws/issues/489 //this.conn.removeEventListener("message", this.socketMessageListener); //this.conn.removeEventListener("close", this.socketCloseListener); //this.conn.close(); this.conn = null; + alert(this.st.tr["New connexion detected: tab now offline"]); break; case "askidentity": { // Request for identification (TODO: anonymous shouldn't need to reply)