aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/modal/video-download.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/+video-watch/modal/video-download.component.ts')
-rw-r--r--client/src/app/videos/+video-watch/modal/video-download.component.ts4
1 files changed, 1 insertions, 3 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 1361146dd..f4d9003ee 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
@@ -15,9 +15,7 @@ export class VideoDownloadComponent implements OnInit {
15 downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent' 15 downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent'
16 resolutionId: number | string = -1 16 resolutionId: number | string = -1
17 17
18 constructor (private modalService: NgbModal) { 18 constructor (private modalService: NgbModal) { }
19 // empty
20 }
21 19
22 ngOnInit () { 20 ngOnInit () {
23 this.resolutionId = this.video.files[0].resolution.id 21 this.resolutionId = this.video.files[0].resolution.id