Fix admin regressions from Biome refactor: theme init, mobile nav, i18n.
Local Build and Deploy / deploy (push) Successful in 54s

Restore valid browser JS in theme-init, close mobile sidebar on navigation, and split autoDjForm title/trackTitle across locales.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
SimoandCursor committed 2026-07-15 20:02:25 +02:00
1 parent 59b63d6e70
commit bae543baf6
23 files changed
+87 -44

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
(() => {
let theme: string | null = null;
let theme = null;
let defaultDark = false;
let navbarColor: string | null = null;
let navbarTextColor: string | null = null;
let navbarColor = null;
let navbarTextColor = null;
try {
theme = localStorage.getItem("theme");
const dd = document.querySelector('meta[name="theme-default-dark"]');