diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-11-19 17:23:01 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-11-19 17:23:01 -0600 |
| commit | c1a60392ae374aa081a8f1e0b6fb6b0e863f10d6 (patch) | |
| tree | c2577a6d08e54b24e365ed80a17ef4e65a96f7f7 | |
| parent | fff817b654aaf4d4d2569f845c588cffb753df2f (diff) | |
| download | invidious-c1a60392ae374aa081a8f1e0b6fb6b0e863f10d6.tar.gz invidious-c1a60392ae374aa081a8f1e0b6fb6b0e863f10d6.tar.bz2 invidious-c1a60392ae374aa081a8f1e0b6fb6b0e863f10d6.zip | |
Expand description when related videos are disabled
| -rw-r--r-- | src/invidious/views/watch.ecr | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 5326faef..31437760 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -82,7 +82,7 @@ </div> </div> - <div class="pure-u-1 pure-u-md-3-5"> + <div class="pure-u-1 <% if preferences && !preferences.related_videos && !plid %>pure-u-md-4-5<% else %>pure-u-md-3-5<% end %>"> <div class="h-box"> <p> <a href="/channel/<%= video.ucid %>"> @@ -132,6 +132,7 @@ </div> </div> </div> + <% if preferences && preferences.related_videos || plid %> <div class="pure-u-1 pure-u-md-1-5"> <% if plid %> <div id="playlist" class="h-box"> @@ -171,6 +172,7 @@ </div> <% end %> </div> + <% end %> </div> <script> |
