mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 04:32:02 +00:00 
			
		
		
		
	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.
This commit is contained in:
		| @@ -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"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 138138138
					138138138