diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-02-10 11:51:51 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-02-10 11:52:45 +0100 |
commit | 7af75da41ba32451c3e9564714b05b506bdd881d (patch) | |
tree | 9f308d082acb8cbd045c3e378751a52d69f37c8c /client/src/app/videos/video-watch | |
parent | f6f7dfee01e8b7ddf62d2549b8f381d0b12b590e (diff) | |
download | PeerTube-7af75da41ba32451c3e9564714b05b506bdd881d.tar.gz PeerTube-7af75da41ba32451c3e9564714b05b506bdd881d.tar.zst PeerTube-7af75da41ba32451c3e9564714b05b506bdd881d.zip |
Client: fix lint
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) { |