diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-01-24 00:01:56 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-01-24 00:01:56 -0600 |
| commit | 1a9057a175bbf02c6e8c562693f0b12d656923f2 (patch) | |
| tree | 05401e5fb10e76fb81aa273441ecc821e867d7a0 /src | |
| parent | 0fcfb7b82bf30377e09f61e7dca45e030fc0150a (diff) | |
| download | invidious-1a9057a175bbf02c6e8c562693f0b12d656923f2.tar.gz invidious-1a9057a175bbf02c6e8c562693f0b12d656923f2.tar.bz2 invidious-1a9057a175bbf02c6e8c562693f0b12d656923f2.zip | |
Add fix to download widget for titles with unescaped characters
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/watch.ecr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 3f1ff3bc..d5ab5411 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -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> |
