add link button in lobby

This commit is contained in:
ajuvercr 2020-04-17 17:09:14 +02:00
parent 9db1426e15
commit 0b47ded269

View file

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