aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/videos/+video-watch/modal/video-download.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/modal/video-download.component.ts b/client/src/app/videos/+video-watch/modal/video-download.component.ts
index b06a7eef1..12f31b011 100644
--- a/client/src/app/videos/+video-watch/modal/video-download.component.ts
+++ b/client/src/app/videos/+video-watch/modal/video-download.component.ts
@@ -41,7 +41,7 @@ export class VideoDownloadComponent implements OnInit {
41 return 41 return
42 } 42 }
43 43
44 const link = this.downloadType === 'direct' ? file.fileUrl : file.torrentUrl 44 const link = this.downloadType === 'direct' ? file.fileDownloadUrl : file.torrentDownloadUrl
45 window.open(link) 45 window.location.assign(link)
46 } 46 }
47} 47}