fix option

This commit is contained in:
john19696 2022-08-25 12:40:55 +01:00
parent bc0b782fac
commit 27c5b7c592

View File

@ -201,7 +201,8 @@ class OptionsWaiter {
*/ */
uxChange(e) { uxChange(e) {
const checked = $("#accessibleUX").is(":checked"); const checked = $("#accessibleUX").is(":checked");
$(".accessibleUX").css("display", checked ? "block" : "none"); const UXstyle = "display:" + (checked ? "block" : "none");
$('html > head').append($('<style>.accessibleUX {' + UXstyle + '; }</style>'));
} }
} }