From 3083015f211afe606dd64be1d422ef0c0e2c5b77 Mon Sep 17 00:00:00 2001 From: choelzl Date: Sun, 6 Feb 2022 19:19:44 +0100 Subject: [PATCH] WIP --- web/overlay/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/overlay/index.js b/web/overlay/index.js index 746de08..899fcd5 100644 --- a/web/overlay/index.js +++ b/web/overlay/index.js @@ -1,6 +1,4 @@ $(function () { - const webSocket = window.socket, - queryMap = getQueryMap(); const getQueryMap = () => { let queryString = window.location.search, @@ -41,7 +39,9 @@ $(function () { } }; + const webSocket = window.socket, + queryMap = getQueryMap(); + socket.addFamilyHandler("overlay", handleSocketMessage); - }); \ No newline at end of file