diff options
author | metamuffin <metamuffin@yandex.com> | 2022-01-25 20:58:57 +0100 |
---|---|---|
committer | metamuffin <metamuffin@yandex.com> | 2022-01-25 20:58:57 +0100 |
commit | 8cc5a50b91a3d80b28b03191b246974d3aca9bf8 (patch) | |
tree | c737af828efe2e1750b5fadc140237737026081d /source/client/helper.ts | |
parent | a22bdc3821bd53d8e3b198423db3f8d7e8e579f6 (diff) | |
download | keks-meet-8cc5a50b91a3d80b28b03191b246974d3aca9bf8.tar keks-meet-8cc5a50b91a3d80b28b03191b246974d3aca9bf8.tar.bz2 keks-meet-8cc5a50b91a3d80b28b03191b246974d3aca9bf8.tar.zst |
polish + menu
Diffstat (limited to 'source/client/helper.ts')
-rw-r--r-- | source/client/helper.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/client/helper.ts b/source/client/helper.ts index 37da7b9..31e500a 100644 --- a/source/client/helper.ts +++ b/source/client/helper.ts @@ -4,7 +4,7 @@ import { parameters } from "./index.ts" export function get_query_params(): { [key: string]: string } { const q: { [key: string]: string } = {} - for (const kv of window.location.search.substring(1).split("&")) { + for (const kv of window.location.hash.substring(1).split("&")) { const [key, value] = kv.split("=") q[decodeURIComponent(key)] = decodeURIComponent(value) } @@ -41,4 +41,3 @@ export function parameter_string(name: string, def: string): string { if (!v) return def return v } - |