From 323b74a63cefcf918ca843a5310b31e4b155c192 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 8 Sep 2023 15:53:08 +0200 Subject: fix fallbackstreamdownload --- client-web/source/download_stream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2