From f430363be0c55a8275d3e91e098c75b3f2cb94d9 Mon Sep 17 00:00:00 2001 From: Fabien Basmaison Date: Tue, 6 Apr 2021 09:11:56 +0200 Subject: [PATCH] [assets] Simplify a function expression. --- bookwyrm/static/js/check_all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/static/js/check_all.js b/bookwyrm/static/js/check_all.js index 72c83e3e..de067f78 100644 --- a/bookwyrm/static/js/check_all.js +++ b/bookwyrm/static/js/check_all.js @@ -13,7 +13,7 @@ document .querySelectorAll(`#${mainCheckbox.dataset.target} [type="checkbox"]`) - .forEach(checkbox => {checkbox.checked = mainCheckbox.checked;}); + .forEach(checkbox => checkbox.checked = mainCheckbox.checked); } document