mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-13 13:50:34 +05:30
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]
|
||||
|
||||
related_videos = env.params.body["related_videos"]?.try &.as(String)
|
||||
related_videos ||= "on"
|
||||
related_videos ||= "off"
|
||||
related_videos = related_videos == "on"
|
||||
|
||||
redirect_feed = env.params.body["redirect_feed"]?.try &.as(String)
|
||||
|
@ -141,7 +141,7 @@
|
||||
</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">
|
||||
<% if plid %>
|
||||
<div id="playlist" class="h-box">
|
||||
|
Loading…
Reference in New Issue
Block a user