X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=61ced0aed63b5fa5c230898b1e7562c703eb8fd7;hb=1fc6df1e59013ff7e0d484bc0e9bb462230fd221;hp=8d7d405ff3f787e26988bf371690b6094bed6e91;hpb=92240cf0fbf76ddf8a030ba1f846d6c62b1e9979;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 8d7d405f..61ced0ae 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -486,10 +486,6 @@ export default { } case "killed": // I logged in elsewhere: - // 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; @@ -900,7 +896,7 @@ export default { // If an error occurred, game is not added: abort if (!err) { if (this.st.settings.sound) - new Audio("/sounds/newgame.wav").play().catch(() => {}); + new Audio("/sounds/newgame.flac").play().catch(() => {}); this.$router.push("/game/" + gameInfo.id); } });