aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-09-10 21:12:12 -0500
committerJesús <heckyel@hyperbola.info>2021-09-10 21:12:12 -0500
commitf129cfcc9a2d781032b2ad1aa0307d77c839b6bb (patch)
treea0706d48371c5edee51088a00dc11899732fd4c1
parent66f396ce32bf2b5c869e63ceb649bbcf510d7034 (diff)
downloadyt-local-f129cfcc9a2d781032b2ad1aa0307d77c839b6bb.tar.lz
yt-local-f129cfcc9a2d781032b2ad1aa0307d77c839b6bb.tar.xz
yt-local-f129cfcc9a2d781032b2ad1aa0307d77c839b6bb.zip
playlist: add license to javascript code
-rw-r--r--youtube/templates/local_playlist.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube/templates/local_playlist.html b/youtube/templates/local_playlist.html
index d08aa48..b29986a 100644
--- a/youtube/templates/local_playlist.html
+++ b/youtube/templates/local_playlist.html
@@ -34,10 +34,12 @@
{% endfor %}
</div>
<script>
+ // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
const deletePlayList = document.getElementById('removePlayList');
deletePlayList.addEventListener('click', (event) => {
return confirm('You are about to permanently delete {{ playlist_name }}\n\nOnce a playlist is permanently deleted, it cannot be recovered.')
});
+ // @license-end
</script>
<footer class="pagination-container">
<nav class="pagination-list">