mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
fix: checkboxes in theme config window (#2172)
* fix: checkboxes in theme config window
This commit is contained in:
@@ -454,9 +454,8 @@ $(() => {
|
||||
case "radio":
|
||||
case "checkbox":
|
||||
ctrl.each(function() {
|
||||
if ($(this).attr("value") == value) {
|
||||
$(this).attr("checked", value);
|
||||
}
|
||||
$(this).attr("value", value);
|
||||
});
|
||||
break;
|
||||
default:
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user