diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-01 00:55:46 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-01 00:55:46 +0100 |
commit | fd1823e7ecf46a230fdf2db009a30931692bc320 (patch) | |
tree | c87b8a7da1718f794580fb0eed8ce5fedcc9a6dd /web/script/player/player.ts | |
parent | 0288a7f4ebbca560312aa9b95af32232ed7153a9 (diff) | |
download | jellything-fd1823e7ecf46a230fdf2db009a30931692bc320.tar jellything-fd1823e7ecf46a230fdf2db009a30931692bc320.tar.bz2 jellything-fd1823e7ecf46a230fdf2db009a30931692bc320.tar.zst |
make ts linter happy
Diffstat (limited to 'web/script/player/player.ts')
-rw-r--r-- | web/script/player/player.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/script/player/player.ts b/web/script/player/player.ts index 5226128..aefc5e6 100644 --- a/web/script/player/player.ts +++ b/web/script/player/player.ts @@ -186,7 +186,7 @@ function get_continue_time(w: WatchedState): number { } function get_query_start_time() { - const u = new URL(window.location.href) + const u = new URL(globalThis.location.href) const p = u.searchParams.get("t") if (!p) return const x = parseFloat(p) |