From b92542ea35f95d20a6a375ac8d6bfe865c12fd08 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 15 Nov 2018 18:05:10 -0600 Subject: [PATCH] Show autoplay when playlist is invalid --- src/invidious/views/watch.ecr | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index ba3692e2..9dbd8834 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -141,12 +141,14 @@ <% if !preferences || preferences && preferences.related_videos %>
- <% if !plid && !rvs.empty? %> -
- - checked<% end %>> + <% if !rvs.empty? %> +
style="display:none"<% end %>> +
+ + checked<% end %>> +
+
-
<% end %> <% rvs.each do |rv| %> @@ -307,6 +309,7 @@ function get_playlist() { } } else { playlist.innerHTML = ""; + document.getElementById('continue').style.display = ""; } } };