From 1ac94d6fcd258b56a1c1bdf39e6a1e757a99e9fc Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Tue, 4 Feb 2020 10:24:10 +0100
Subject: [PATCH] Fix current page in sockets.js

---
 client/src/main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/src/main.js b/client/src/main.js
index 7015362b..9d2e73d1 100644
--- a/client/src/main.js
+++ b/client/src/main.js
@@ -24,7 +24,7 @@ new Vue({
     });
     // TODO: why is this wrong? (Maybe because $route still uninitialized?)
     //store.initialize(this.$route.path);
-    store.initialize(window.location.href.split("#")[1]);
+    store.initialize(window.location.href.split("#")[1].split("?")[0]);
     // NOTE: at this point, variants and tr(anslations) might be uninitialized
   },
 }).$mount("#app");
-- 
2.44.0