mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
make download function modular
This commit is contained in:
parent
ae57b97712
commit
4a50925c17
7 changed files with 118 additions and 111 deletions
9
dashboard-ui/components/filedownloader.js
Normal file
9
dashboard-ui/components/filedownloader.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
define([], function () {
|
||||
|
||||
return function (items) {
|
||||
|
||||
items.forEach(function (item) {
|
||||
window.location.href = item.url;
|
||||
});
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue