Support for exporting the watch history as playlist

This commit is contained in:
Bnyro
2023-01-27 17:27:40 +01:00
parent 604eb5edcc
commit 8a801ab404
2 changed files with 20 additions and 2 deletions

View File

@@ -241,8 +241,8 @@ const mixin = {
return localSubscriptions.join(",");
},
/* generate a temporary file and ask the user to download it */
download(text, filename, type) {
var file = new Blob([text], { type: type });
download(text, filename, mimeType) {
var file = new Blob([text], { type: mimeType });
const elem = document.createElement("a");