moved settings button to bottom and made it collapsible;use nc's built-in filepicker to set download and torrents folders;fixed issues of youtube-dl filenames exceeding the maximum length

This commit is contained in:
huangjx
2022-02-16 21:15:37 +08:00
parent e458da86aa
commit 5c05ce5e8b
10 changed files with 70 additions and 19 deletions

View File

@@ -31,10 +31,6 @@ window.addEventListener('DOMContentLoaded', function () {
helper.aria2Toggle(data);
}).send();
})
eventHandler.add("click", '#ncdownloader-user-settings button', function (e) {
let link = helper.generateUrl(e.target.getAttribute('path'));
window.location.href = link;
})
eventHandler.add("click", "#app-navigation", "#search-download", helper.showDownload);
delegate('#ncdownloader-table-wrapper',
{ target: '[data-tippy-content]' }