summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2022-09-11 15:32:14 +0200
committerSamantaz Fox <coding@samantaz.fr>2022-09-11 15:32:14 +0200
commit7df176d75006721dee70aebee7cd9646d91fdf27 (patch)
tree6f953652400b34d699ec6da5dbb59b4854e9ef1a /src
parent0fa3250f0250e001a58622895f487c0e3df02098 (diff)
parentde740569257312ee9326f4ed3ca055c23cbb879d (diff)
downloadinvidious-7df176d75006721dee70aebee7cd9646d91fdf27.tar.gz
invidious-7df176d75006721dee70aebee7cd9646d91fdf27.tar.bz2
invidious-7df176d75006721dee70aebee7cd9646d91fdf27.zip
Keep listen mode after related video click (#3160)
Diffstat (limited to 'src')
-rw-r--r--src/invidious/views/watch.ecr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index 50c63d21..243ea3a4 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"]? %>
- <a href="/watch?v=<%= rv["id"] %>">
+ <a href="/watch?v=<%= rv["id"] %>&listen=<%= params.listen %>">
<% if !env.get("preferences").as(Preferences).thin_mode %>
<div class="thumbnail">
<img loading="lazy" class="thumbnail" src="/vi/<%= rv["id"] %>/mqdefault.jpg">