mirror of
https://github.com/wled/WLED.git
synced 2025-07-27 04:36:33 +00:00
Add check if UI was already simplified
This commit is contained in:
parent
058995a0b6
commit
d0c6e7a285
@ -3073,6 +3073,9 @@ function simplifyUI() {
|
|||||||
gId(id).append(dialog);
|
gId(id).append(dialog);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if the UI was already simplified
|
||||||
|
if (gId("Colors").classList.contains("simplified")) return;
|
||||||
|
|
||||||
// Disable PC Mode as it does not exist in simple UI
|
// Disable PC Mode as it does not exist in simple UI
|
||||||
if (pcMode) togglePcMode(true);
|
if (pcMode) togglePcMode(true);
|
||||||
_C.style.width = '100%'
|
_C.style.width = '100%'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user