fix(ui): disable dynamic theme dropdown injection entirely
This commit is contained in:
parent
ea8003e213
commit
68bb516ec2
1 changed files with 4 additions and 4 deletions
|
|
@ -169,8 +169,7 @@ const ThemeManager = (() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateDropdown() {
|
function updateDropdown() {
|
||||||
const dd = document.getElementById("themeDropdown");
|
// Dropdown removed
|
||||||
if (dd) dd.value = currentThemeId;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function createDropdown() {
|
function createDropdown() {
|
||||||
|
|
@ -211,8 +210,9 @@ const ThemeManager = (() => {
|
||||||
currentThemeId = saved;
|
currentThemeId = saved;
|
||||||
loadTheme(saved);
|
loadTheme(saved);
|
||||||
|
|
||||||
const container = document.getElementById("themeSelectorContainer");
|
// Dropdown injection removed
|
||||||
if (container) container.appendChild(createDropdown());
|
// const container = document.getElementById("themeSelectorContainer");
|
||||||
|
// if (container) container.appendChild(createDropdown());
|
||||||
|
|
||||||
console.log("✓ Theme Manager initialized");
|
console.log("✓ Theme Manager initialized");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue