diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-22 16:05:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-22 16:05:57 +0200 |
commit | 60dd77c6922fced1945635a16ac7ecf1df43a839 (patch) | |
tree | 084354042abba344d566f1b0247739657a1cc6b1 /client/src/app/shared | |
parent | 0ba9696c012804670ccdd5256acdaa7ed9484339 (diff) | |
download | PeerTube-60dd77c6922fced1945635a16ac7ecf1df43a839.tar.gz PeerTube-60dd77c6922fced1945635a16ac7ecf1df43a839.tar.zst PeerTube-60dd77c6922fced1945635a16ac7ecf1df43a839.zip |
Cleanup video playlist element miniature code
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts index 8d1e14f94..ea58d7f76 100644 --- a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts +++ b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts | |||
@@ -166,9 +166,6 @@ export class VideoPlaylistElementMiniatureComponent implements OnInit { | |||
166 | } | 166 | } |
167 | } | 167 | } |
168 | 168 | ||
169 | // FIXME: why do we have to use setTimeout here? | 169 | this.cdr.markForCheck() |
170 | setTimeout(() => { | ||
171 | this.cdr.detectChanges() | ||
172 | }) | ||
173 | } | 170 | } |
174 | } | 171 | } |