From: Chocobozzz Date: Wed, 4 Apr 2018 07:04:34 +0000 (+0200) Subject: Fix show more description button on video change X-Git-Tag: v1.0.0-beta.4~88 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=c448d41242c5ae3b78830da4fdf37aa21b55a65f;p=github%2FChocobozzz%2FPeerTube.git Fix show more description button on video change --- diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index ed7892a01..b595ddcb7 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts @@ -38,7 +38,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { otherVideosDisplayed: Video[] = [] - error = false player: videojs.Player playerElement: HTMLVideoElement userRating: UserVideoRateType = null @@ -319,6 +318,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy { private async onVideoFetched (video: VideoDetails) { this.video = video + // Re init attributes + this.descriptionLoading = false + this.completeDescriptionShown = false + this.updateOtherVideosDisplayed() if (this.video.isVideoNSFWForUser(this.user)) {