aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular/videos/components
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-15 13:16:54 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-15 13:16:54 +0100
commit2c4a0b5d909bd7eefeb582001babce816fdfab03 (patch)
tree0fdea9286f922d77e6b910f3cc3c990ab59350f3 /client/angular/videos/components
parente1c8024ab995494e1d39e07d9ea6700d41bdf012 (diff)
downloadPeerTube-2c4a0b5d909bd7eefeb582001babce816fdfab03.tar.gz
PeerTube-2c4a0b5d909bd7eefeb582001babce816fdfab03.tar.zst
PeerTube-2c4a0b5d909bd7eefeb582001babce816fdfab03.zip
Fix tests
Diffstat (limited to 'client/angular/videos/components')
-rw-r--r--client/angular/videos/components/watch/videos-watch.component.ts3
1 files changed, 2 insertions, 1 deletions
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 {
39 39
40 loadVideo(video: Video) { 40 loadVideo(video: Video) {
41 this.video = video; 41 this.video = video;
42 42 console.log('Adding ' + this.video.magnetUri + '.');
43 this.client.add(this.video.magnetUri, (torrent) => { 43 this.client.add(this.video.magnetUri, (torrent) => {
44 console.log('Added ' + this.video.magnetUri + '.');
44 torrent.files[0].appendTo(this._elementRef.nativeElement, (err) => { 45 torrent.files[0].appendTo(this._elementRef.nativeElement, (err) => {
45 if (err) { 46 if (err) {
46 alert('Cannot append the file.'); 47 alert('Cannot append the file.');