X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fmodal%2Fvideo-download.component.ts;h=f4d9003ee74db62ec99d6008624b473aacfcabaa;hb=23db998f07d674c621972a769df73203b14e093a;hp=1361146dd774521d2aa839a8334178b5b1e9a595;hpb=9fe4406794aaa4503d090ca4bfe6872b4e556178;p=github%2FChocobozzz%2FPeerTube.git 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 { downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent' resolutionId: number | string = -1 - constructor (private modalService: NgbModal) { - // empty - } + constructor (private modalService: NgbModal) { } ngOnInit () { this.resolutionId = this.video.files[0].resolution.id