fix: checkboxes in theme config window (#2172)

* fix: checkboxes in theme config window
This commit is contained in:
Miłosz Skaza
2022-08-24 23:00:53 +02:00
committed by GitHub
parent 22ae3a8eb7
commit aeee3db3be
3 changed files with 4 additions and 5 deletions

View File

@@ -454,9 +454,8 @@ $(() => {
case "radio": case "radio":
case "checkbox": case "checkbox":
ctrl.each(function() { ctrl.each(function() {
if ($(this).attr("value") == value) {
$(this).attr("checked", value); $(this).attr("checked", value);
} $(this).attr("value", value);
}); });
break; break;
default: default:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long