normal websocket

This commit is contained in:
MeBeBruno committed 2026-08-09 17:19:18 +02:00
1 parent 4bf7700886
commit 6a56e5a921
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -281,7 +281,7 @@ document.addEventListener("DOMContentLoaded", function() {
}
if (typeof io !== "undefined") {
websocket_connection = io({ transports: ["polling"], upgrade: false });
websocket_connection = io();
websocket_connection.on("game_state_changed", function() {
if (document.querySelector(".game-section") || document.querySelector(".administrator-section")) {