mirror of
https://github.com/wled/WLED.git
synced 2025-04-23 14:27:18 +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);
|
||||
}
|
||||
|
||||
// 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
|
||||
if (pcMode) togglePcMode(true);
|
||||
_C.style.width = '100%'
|
||||
|
Loading…
x
Reference in New Issue
Block a user