[assets] Simplify a function expression.
This commit is contained in:
parent
f6c3e581b9
commit
f430363be0
|
@ -13,7 +13,7 @@
|
|||
|
||||
document
|
||||
.querySelectorAll(`#${mainCheckbox.dataset.target} [type="checkbox"]`)
|
||||
.forEach(checkbox => {checkbox.checked = mainCheckbox.checked;});
|
||||
.forEach(checkbox => checkbox.checked = mainCheckbox.checked);
|
||||
}
|
||||
|
||||
document
|
||||
|
|
Loading…
Reference in New Issue