From 2c4a0b5d909bd7eefeb582001babce816fdfab03 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 15 Mar 2016 13:16:54 +0100 Subject: Fix tests --- client/angular/videos/components/watch/videos-watch.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/angular') diff --git a/client/angular/videos/components/watch/videos-watch.component.ts b/client/angular/videos/components/watch/videos-watch.component.ts index da7f942db..1a17e2b1a 100644 --- a/client/angular/videos/components/watch/videos-watch.component.ts +++ b/client/angular/videos/components/watch/videos-watch.component.ts @@ -39,8 +39,9 @@ export class VideosWatchComponent implements OnInit, CanDeactivate { loadVideo(video: Video) { this.video = video; - + console.log('Adding ' + this.video.magnetUri + '.'); this.client.add(this.video.magnetUri, (torrent) => { + console.log('Added ' + this.video.magnetUri + '.'); torrent.files[0].appendTo(this._elementRef.nativeElement, (err) => { if (err) { alert('Cannot append the file.'); -- cgit v1.2.3