diff options
-rw-r--r-- | client-web/source/download_stream.ts | 2 |
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 |