diff --git a/src/invidious.cr b/src/invidious.cr index 69bbed77..a720670a 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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) diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index dc58d48d..a8f98492 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -141,7 +141,7 @@ - <% if preferences && preferences.related_videos || plid %> + <% if !preferences || preferences && preferences.related_videos || plid %>