X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=lmno.js;fp=lmno.js;h=34ac33c89eef50c356cc07bfaccb1ad9a76dec7d;hp=e4785a86d4fe8ae282ae2102a3c3bebaf2b8f414;hb=958087d658fde6c960c87de96bd798aefc415292;hpb=bd0a5b71f277551b6433eb4616d22ef1e807441c diff --git a/lmno.js b/lmno.js index e4785a8..34ac33c 100644 --- a/lmno.js +++ b/lmno.js @@ -16,6 +16,9 @@ function join_loadend(request, game_id) { add_message("danger", game_id + " is not a valid game ID. Try again."); return; } + + /* Now that its validated, send the browser to the URL for the game_id. */ + window.location.href = "/" + game_id; } function lmno_join(form) {