diff options
Diffstat (limited to 'client/src/app/videos/video-watch')
-rw-r--r-- | client/src/app/videos/video-watch/video-report.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/video-watch/webtorrent.service.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/videos/video-watch/video-report.component.ts b/client/src/app/videos/video-watch/video-report.component.ts index 7906fdb5c..c4cf936ce 100644 --- a/client/src/app/videos/video-watch/video-report.component.ts +++ b/client/src/app/videos/video-watch/video-report.component.ts | |||
@@ -54,7 +54,7 @@ export class VideoReportComponent extends FormReactive implements OnInit { | |||
54 | } | 54 | } |
55 | 55 | ||
56 | report() { | 56 | report() { |
57 | const reason = this.form.value['reason'] | 57 | const reason = this.form.value['reason']; |
58 | 58 | ||
59 | this.videoAbuseService.reportVideo(this.video.id, reason) | 59 | this.videoAbuseService.reportVideo(this.video.id, reason) |
60 | .subscribe( | 60 | .subscribe( |
diff --git a/client/src/app/videos/video-watch/webtorrent.service.ts b/client/src/app/videos/video-watch/webtorrent.service.ts index 1839c7c27..0192167ee 100644 --- a/client/src/app/videos/video-watch/webtorrent.service.ts +++ b/client/src/app/videos/video-watch/webtorrent.service.ts | |||
@@ -15,8 +15,8 @@ export class WebTorrentService { | |||
15 | constructor() { | 15 | constructor() { |
16 | this.client = new WebTorrent({ dht: false }); | 16 | this.client = new WebTorrent({ dht: false }); |
17 | 17 | ||
18 | this.client.on('error', (err) => this.errors.next(err)) | 18 | this.client.on('error', (err) => this.errors.next(err)); |
19 | this.client.on('warning', (err) => this.warnings.next(err)) | 19 | this.client.on('warning', (err) => this.warnings.next(err)); |
20 | } | 20 | } |
21 | 21 | ||
22 | add(magnetUri: string, callback: Function) { | 22 | add(magnetUri: string, callback: Function) { |