diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-07-18 23:19:58 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-07-18 23:19:58 -0400 |
commit | 1dab192a329b1ad966b0c1e0401eeaa78d5b752e (patch) | |
tree | 2fbc10a865179e8a36f0f8e1b450fdf9c3eb1069 /client.html | |
parent | 19daa4f91a348515af5f9610bd686b5bf4f509ba (diff) |
Init + deck bug
Push init code into client.js
Fix deck rendering bugs for strip modes
Diffstat (limited to 'client.html')
-rw-r--r-- | client.html | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/client.html b/client.html index d589344..9b92a09 100644 --- a/client.html +++ b/client.html @@ -39,7 +39,7 @@ <script src="scripts/socket/message.js"></script> <script src="scripts/socket/sock.js"></script> - <script src="scripts/client.js"></script> + <script src="scripts/client.js" defer></script> <title>WebCards - Client</title> </head> @@ -120,12 +120,6 @@ <button>Send</button> </div> </div> - - <script> - var params = new URLSearchParams((new URL(window.location)).search); - var game = new Client(params.get("s"), params.get("g")); - setTimeout(game.init.bind(game), 100); - </script> </body> </html>
\ No newline at end of file |