This commit is contained in:
choelzl 2022-02-06 19:19:44 +01:00
parent b846cb788c
commit 3083015f21
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -1,6 +1,4 @@
$(function () { $(function () {
const webSocket = window.socket,
queryMap = getQueryMap();
const getQueryMap = () => { const getQueryMap = () => {
let queryString = window.location.search, let queryString = window.location.search,
@ -41,7 +39,9 @@ $(function () {
} }
}; };
const webSocket = window.socket,
queryMap = getQueryMap();
socket.addFamilyHandler("overlay", handleSocketMessage); socket.addFamilyHandler("overlay", handleSocketMessage);
}); });