From 7af75da41ba32451c3e9564714b05b506bdd881d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Feb 2017 11:51:51 +0100 Subject: Client: fix lint --- client/src/app/videos/video-watch/video-report.component.ts | 2 +- client/src/app/videos/video-watch/webtorrent.service.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos') 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 { } report() { - const reason = this.form.value['reason'] + const reason = this.form.value['reason']; this.videoAbuseService.reportVideo(this.video.id, reason) .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 { constructor() { this.client = new WebTorrent({ dht: false }); - this.client.on('error', (err) => this.errors.next(err)) - this.client.on('warning', (err) => this.warnings.next(err)) + this.client.on('error', (err) => this.errors.next(err)); + this.client.on('warning', (err) => this.warnings.next(err)); } add(magnetUri: string, callback: Function) { -- cgit v1.2.3