summaryrefslogtreecommitdiff
path: root/client.html
diff options
context:
space:
mode:
Diffstat (limited to 'client.html')
-rw-r--r--client.html8
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