]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix complete description on some videos
authorChocobozzz <me@florianbigard.com>
Tue, 27 Feb 2018 09:55:00 +0000 (10:55 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 27 Feb 2018 09:55:00 +0000 (10:55 +0100)
client/src/app/videos/+video-watch/video-watch.component.html

index 2869d13ddf828b772aafda1032257b937fd21fb0..11b9fb8d0e6fac26a463adfc0938bb828cbd14db 100644 (file)
       <div class="video-info-description">
         <div class="video-info-description-html" [innerHTML]="videoHTMLDescription"></div>
 
-        <div class="video-info-description-more" *ngIf="completeDescriptionShown === false && video.description?.length === 250" (click)="showMoreDescription()">
+        <div class="video-info-description-more" *ngIf="completeDescriptionShown === false && video.description?.length >= 250" (click)="showMoreDescription()">
           Show more
           <span *ngIf="descriptionLoading === false" class="glyphicon glyphicon-menu-down"></span>
           <my-loader class="description-loading" [loading]="descriptionLoading"></my-loader>