summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-09-08 15:53:08 +0200
committermetamuffin <metamuffin@disroot.org>2023-09-08 15:53:08 +0200
commit323b74a63cefcf918ca843a5310b31e4b155c192 (patch)
treeeb0ef10dc220da2bd63d18441202607e8b1bf0f5
parent0b967d5463c3474983fb531a366c285c07776eda (diff)
downloadkeks-meet-323b74a63cefcf918ca843a5310b31e4b155c192.tar
keks-meet-323b74a63cefcf918ca843a5310b31e4b155c192.tar.bz2
keks-meet-323b74a63cefcf918ca843a5310b31e4b155c192.tar.zst
fix fallbackstreamdownload
-rw-r--r--client-web/source/download_stream.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client-web/source/download_stream.ts b/client-web/source/download_stream.ts
index 1929353..d2cf1c5 100644
--- a/client-web/source/download_stream.ts
+++ b/client-web/source/download_stream.ts
@@ -39,7 +39,7 @@ export function StreamDownload({ size, filename, cancel, progress }: {
cancel: () => void,
progress: (position: number) => void
}) {
- if (!SW_ENABLED) FallbackStreamDownload(size, filename, progress)
+ if (!SW_ENABLED) return FallbackStreamDownload(size, filename, progress)
let position = 0
// the sw will handle this download