mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Add fix to download widget for titles with unescaped characters
This commit is contained in:
parent
0fcfb7b82b
commit
1a9057a175
2 changed files with 3 additions and 2 deletions
|
@ -75,7 +75,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<button type="button" onclick='download_video("<%= video.title.dump_unquoted %>-<%= video.id %>.mp4")'
|
||||
<button type="button" data-title="<%= video.title.dump_unquoted %>-<%= video.id %>.mp4" onclick="download_video(this)"
|
||||
class="pure-button pure-button-primary">
|
||||
<%= translate(locale, "Download") %>
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue