diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/video-watch-playlist.component.html')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch-playlist.component.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch-playlist.component.html b/client/src/app/+videos/+video-watch/video-watch-playlist.component.html index 246ef83cf..c270142a3 100644 --- a/client/src/app/+videos/+video-watch/video-watch-playlist.component.html +++ b/client/src/app/+videos/+video-watch/video-watch-playlist.component.html | |||
@@ -1,4 +1,7 @@ | |||
1 | <div *ngIf="playlist && video" class="playlist" myInfiniteScroller [autoInit]="true" [onItself]="true" (nearOfBottom)="onPlaylistVideosNearOfBottom()"> | 1 | <div |
2 | *ngIf="playlist && currentPlaylistPosition" class="playlist" | ||
3 | myInfiniteScroller [autoInit]="true" [onItself]="true" (nearOfBottom)="onPlaylistVideosNearOfBottom()" | ||
4 | > | ||
2 | <div class="playlist-info"> | 5 | <div class="playlist-info"> |
3 | <div class="playlist-display-name"> | 6 | <div class="playlist-display-name"> |
4 | {{ playlist.displayName }} | 7 | {{ playlist.displayName }} |
@@ -36,7 +39,7 @@ | |||
36 | </div> | 39 | </div> |
37 | </div> | 40 | </div> |
38 | 41 | ||
39 | <div *ngFor="let playlistElement of playlistElements"> | 42 | <div *ngFor="let playlistElement of playlistElements" [ngClass]="'element-' + playlistElement.position"> |
40 | <my-video-playlist-element-miniature | 43 | <my-video-playlist-element-miniature |
41 | [playlistElement]="playlistElement" [playlist]="playlist" [owned]="isPlaylistOwned()" (elementRemoved)="onElementRemoved($event)" | 44 | [playlistElement]="playlistElement" [playlist]="playlist" [owned]="isPlaylistOwned()" (elementRemoved)="onElementRemoved($event)" |
42 | [playing]="currentPlaylistPosition === playlistElement.position" [accountLink]="false" [position]="playlistElement.position" | 45 | [playing]="currentPlaylistPosition === playlistElement.position" [accountLink]="false" [position]="playlistElement.position" |