New Features: Skin Manager, Collections on Details Page, Flatten TV Shows

This commit is contained in:
HighImKevin committed 2025-11-04 06:52:16 -05:00
1 parent 072cfcbe39
commit a09dd8e7f6
34 files changed
+2791 -810

No files matched your search

+5 -3
View File
@@ -17,18 +17,20 @@
e.stopImmediatePropagation();
e.preventDefault();
console.log("[DashboardButtonFix]: No history to go back. Redirecting to home page.");
console.log("[KefinTweaks DashboardButtonFix]: No history to go back. Redirecting to home page.");
// Changes this to the page you'd like to return to by default
const homeUrl = ApiClient.serverVersion().split('.')[1] > 10 ? 'home' : 'home.html';
Dashboard.navigate(`/${homeUrl}`);
}
}, true);
observer.disconnect();
}
// Observe DOM in case button is recreated
const obs = new MutationObserver(attachHandler);
obs.observe(document.body, { childList: true, subtree: true });
const observer = new MutationObserver(attachHandler);
observer.observe(document.body, { childList: true, subtree: true });
// Initial run
attachHandler();