Add check if UI was already simplified

This commit is contained in:
Woody 2023-12-06 19:20:58 +01:00
parent 058995a0b6
commit d0c6e7a285
No known key found for this signature in database
GPG Key ID: 9872D7F5072789B2

View File

@ -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%'