- const newUrl = "/analyse/" + this.game.vname +
- "/?fen=" + this.vr.getFen().replace(/ /g, "_");
- if (this.game.type == "live")
- this.$router.push(newUrl); //open in same tab: against cheating...
- else
- window.open("#" + newUrl); //open in a new tab: more comfortable
+ const newUrl =
+ "/analyse/" +
+ this.game.vname +
+ "/?fen=" +
+ this.vr.getFen().replace(/ /g, "_");
+ if (this.game.type == "live") this.$router.push(newUrl);
+ //open in same tab: against cheating...
+ else window.open("#" + newUrl); //open in a new tab: more comfortable