add link button in lobby

This commit is contained in:
ajuvercr 2020-04-11 07:53:36 +02:00
parent da4920014d
commit 941dfaf03d

View file

@ -29,7 +29,7 @@ async function on_load() {
const urlVars = new URLSearchParams(window.location.search);
if (urlVars.get("game") && urlVars.get("name")) {
handle(urlVars.get("game"),urlVars.get("name"))
handle("/games/"+urlVars.get("game"),urlVars.get("name"))
} else if (options[0]) {
const options_div = <HTMLDivElement> options[0];
if (options_div.children[0]) {