forked from midou/invidious
Default to showing recommendations for logged out users
This commit is contained in:
parent
cef061d6fb
commit
fbb5df0849
@ -1146,7 +1146,7 @@ post "/preferences" do |env|
|
|||||||
captions = [captions_0, captions_1, captions_2]
|
captions = [captions_0, captions_1, captions_2]
|
||||||
|
|
||||||
related_videos = env.params.body["related_videos"]?.try &.as(String)
|
related_videos = env.params.body["related_videos"]?.try &.as(String)
|
||||||
related_videos ||= "on"
|
related_videos ||= "off"
|
||||||
related_videos = related_videos == "on"
|
related_videos = related_videos == "on"
|
||||||
|
|
||||||
redirect_feed = env.params.body["redirect_feed"]?.try &.as(String)
|
redirect_feed = env.params.body["redirect_feed"]?.try &.as(String)
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% if preferences && preferences.related_videos || plid %>
|
<% if !preferences || preferences && preferences.related_videos || plid %>
|
||||||
<div class="pure-u-1 pure-u-md-1-5">
|
<div class="pure-u-1 pure-u-md-1-5">
|
||||||
<% if plid %>
|
<% if plid %>
|
||||||
<div id="playlist" class="h-box">
|
<div id="playlist" class="h-box">
|
||||||
|
Loading…
Reference in New Issue
Block a user