[assets] Simplify a function expression.

This commit is contained in:
Fabien Basmaison 2021-04-06 09:11:56 +02:00
parent f6c3e581b9
commit f430363be0

View file

@ -13,7 +13,7 @@
document
.querySelectorAll(`#${mainCheckbox.dataset.target} [type="checkbox"]`)
.forEach(checkbox => {checkbox.checked = mainCheckbox.checked;});
.forEach(checkbox => checkbox.checked = mainCheckbox.checked);
}
document