Fix switch invidious instance btn on videos

This commit is contained in:
syeopite 2021-05-15 21:10:53 -07:00
parent 950c8f7104
commit 173cd7c15e
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@
<a title="<%=translate(locale, "Audio mode")%>" href="/watch?v=<%= item.id %>&amp;listen=1">
<i class="icon ion-md-headset"></i>
</a>
<a title="<%=translate(locale, "Switch Invidious Instance")%>" href="/redirect?referer=<%= env.get?("current_page") %>">
<a title="<%=translate(locale, "Switch Invidious Instance")%>" href="/redirect?referer=<%=HTML.escape("watch?v=#{item.id}")%>">
<i class="icon ion-md-jet"></i>
</a>
</div>