aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/modal
diff options
context:
space:
mode:
authorBO41 <lukasw41@gmail.com>2018-09-22 20:11:16 +0200
committerBO41 <lukasw41@gmail.com>2018-09-22 20:11:16 +0200
commit23db998f07d674c621972a769df73203b14e093a (patch)
tree6ecb88dc98bdbe69e113e4841d05aec34d6d0491 /client/src/app/videos/+video-watch/modal
parent9fe4406794aaa4503d090ca4bfe6872b4e556178 (diff)
downloadPeerTube-23db998f07d674c621972a769df73203b14e093a.tar.gz
PeerTube-23db998f07d674c621972a769df73203b14e093a.tar.zst
PeerTube-23db998f07d674c621972a769df73203b14e093a.zip
remove unused imports
Diffstat (limited to 'client/src/app/videos/+video-watch/modal')
-rw-r--r--client/src/app/videos/+video-watch/modal/video-download.component.ts4
-rw-r--r--client/src/app/videos/+video-watch/modal/video-share.component.ts4
-rw-r--r--client/src/app/videos/+video-watch/modal/video-support.component.ts4
3 files changed, 3 insertions, 9 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
diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.ts b/client/src/app/videos/+video-watch/modal/video-share.component.ts
index 71d6f5633..17e2b31e1 100644
--- a/client/src/app/videos/+video-watch/modal/video-share.component.ts
+++ b/client/src/app/videos/+video-watch/modal/video-share.component.ts
@@ -25,9 +25,7 @@ export class VideoShareComponent {
25 private modalService: NgbModal, 25 private modalService: NgbModal,
26 private notificationsService: NotificationsService, 26 private notificationsService: NotificationsService,
27 private i18n: I18n 27 private i18n: I18n
28 ) { 28 ) { }
29 // empty
30 }
31 29
32 show (currentVideoTimestamp?: number) { 30 show (currentVideoTimestamp?: number) {
33 this.currentVideoTimestamp = Math.floor(currentVideoTimestamp) 31 this.currentVideoTimestamp = Math.floor(currentVideoTimestamp)
diff --git a/client/src/app/videos/+video-watch/modal/video-support.component.ts b/client/src/app/videos/+video-watch/modal/video-support.component.ts
index 2d400e0be..154002120 100644
--- a/client/src/app/videos/+video-watch/modal/video-support.component.ts
+++ b/client/src/app/videos/+video-watch/modal/video-support.component.ts
@@ -19,9 +19,7 @@ export class VideoSupportComponent {
19 constructor ( 19 constructor (
20 private markdownService: MarkdownService, 20 private markdownService: MarkdownService,
21 private modalService: NgbModal 21 private modalService: NgbModal
22 ) { 22 ) { }
23 // empty
24 }
25 23
26 show () { 24 show () {
27 this.videoHTMLSupport = this.markdownService.enhancedMarkdownToHTML(this.video.support) 25 this.videoHTMLSupport = this.markdownService.enhancedMarkdownToHTML(this.video.support)