From de740569257312ee9326f4ed3ca055c23cbb879d Mon Sep 17 00:00:00 2001 From: 138138138 <78271024+138138138@users.noreply.github.com> Date: Wed, 22 Jun 2022 20:09:29 +0800 Subject: [PATCH] Keep listen mode after related video click When clicking the related videos, listen mode will be kept by passing listen=true/listen=false on the URL. --- src/invidious/views/watch.ecr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index d1fdcce2..c8f0e6f3 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -270,7 +270,7 @@ we're going to need to do it here in order to allow for translations. <% video.related_videos.each do |rv| %> <% if rv["id"]? %> - "> + &listen=<%= params.listen %>"> <% if !env.get("preferences").as(Preferences).thin_mode %>
/mqdefault.jpg">