- Fix repair bugs
- Minor html/js bugs from new template - Other minor issues
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Download page functionality
|
||||
class DownloadManager {
|
||||
constructor() {
|
||||
this.downloadFolder = '{{ .DownloadFolder }}' || '';
|
||||
constructor(downloadFolder) {
|
||||
this.downloadFolder = downloadFolder;
|
||||
this.refs = {
|
||||
downloadForm: document.getElementById('downloadForm'),
|
||||
magnetURI: document.getElementById('magnetURI'),
|
||||
@@ -242,9 +242,4 @@ class DownloadManager {
|
||||
window.decypharrUtils.createToast('Please drop .torrent files only', 'warning');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Initialize download manager when DOM is ready
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
window.downloadManager = new DownloadManager();
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user