- Fix repair bugs
- Minor html/js bugs from new template - Other minor issues
This commit is contained in:
@@ -130,11 +130,6 @@ class RepairManager {
|
||||
const arr = this.refs.arrSelect.value;
|
||||
const mediaIdsValue = this.refs.mediaIds.value.trim();
|
||||
|
||||
if (!arr) {
|
||||
window.decypharrUtils.createToast('Please select an Arr instance', 'warning');
|
||||
return;
|
||||
}
|
||||
|
||||
const mediaIds = mediaIdsValue ?
|
||||
mediaIdsValue.split(',').map(id => id.trim()).filter(Boolean) :
|
||||
[];
|
||||
@@ -1105,15 +1100,4 @@ const RepairUtils = {
|
||||
default: return 0;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// Initialize repair manager when DOM is ready
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
window.repairManager = new RepairManager();
|
||||
window.RepairUtils = RepairUtils;
|
||||
});
|
||||
|
||||
// Export for ES6 modules if needed
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = { RepairManager, RepairUtils };
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user