aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-04 09:04:34 +0200
committerChocobozzz <me@florianbigard.com>2018-04-04 09:04:34 +0200
commitc448d41242c5ae3b78830da4fdf37aa21b55a65f (patch)
tree0808b5ffde094c73626f4116068c58fe12a1c806 /client/src/app/videos
parenta9ab599e53b6cc9a51dc4ac490edffce706393ed (diff)
downloadPeerTube-c448d41242c5ae3b78830da4fdf37aa21b55a65f.tar.gz
PeerTube-c448d41242c5ae3b78830da4fdf37aa21b55a65f.tar.zst
PeerTube-c448d41242c5ae3b78830da4fdf37aa21b55a65f.zip
Fix show more description button on video change
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts5
1 files changed, 4 insertions, 1 deletions
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 {
38 38
39 otherVideosDisplayed: Video[] = [] 39 otherVideosDisplayed: Video[] = []
40 40
41 error = false
42 player: videojs.Player 41 player: videojs.Player
43 playerElement: HTMLVideoElement 42 playerElement: HTMLVideoElement
44 userRating: UserVideoRateType = null 43 userRating: UserVideoRateType = null
@@ -319,6 +318,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
319 private async onVideoFetched (video: VideoDetails) { 318 private async onVideoFetched (video: VideoDetails) {
320 this.video = video 319 this.video = video
321 320
321 // Re init attributes
322 this.descriptionLoading = false
323 this.completeDescriptionShown = false
324
322 this.updateOtherVideosDisplayed() 325 this.updateOtherVideosDisplayed()
323 326
324 if (this.video.isVideoNSFWForUser(this.user)) { 327 if (this.video.isVideoNSFWForUser(this.user)) {