add link button in lobby
This commit is contained in:
parent
9db1426e15
commit
0b47ded269
1 changed files with 1 additions and 1 deletions
|
@ -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]) {
|
||||||
|
|
Loading…
Reference in a new issue