X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2Fgame.js;h=9ecba0cbe0772ac393ce9aaac63a743310acd4cf;hb=283d06a4401a937d602c4b863201945f1be3e701;hp=1178b64abc7b54707f2dbdedb269eea8b3716652;hpb=098e8468ae7a52a55850c09f90506f52b8133567;p=vchess.git diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js index 1178b64a..9ecba0cb 100644 --- a/public/javascripts/components/game.js +++ b/public/javascripts/components/game.js @@ -667,6 +667,7 @@ Vue.component('my-game', { return; //no newgame while playing if (this.seek) { + this.conn.send(JSON.stringify({code:"cancelnewgame"})); delete localStorage["newgame"]; //cancel game seek this.seek = false; }