Fix show more description button on video change
This commit is contained in:
parent
a9ab599e53
commit
c448d41242
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue