This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new 689f8d1 Fix a small linter error in the script to toggle key
committees
689f8d1 is described below
commit 689f8d1aee9175327cc267146c1c0b8c71583b82
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Dec 11 19:47:52 2025 +0000
Fix a small linter error in the script to toggle key committees
---
atr/static/js/src/keys-add-toggle.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/atr/static/js/src/keys-add-toggle.js
b/atr/static/js/src/keys-add-toggle.js
index a0cf505..4dc0373 100644
--- a/atr/static/js/src/keys-add-toggle.js
+++ b/atr/static/js/src/keys-add-toggle.js
@@ -16,11 +16,13 @@ document.addEventListener("DOMContentLoaded", () => {
button.addEventListener("click", () => {
const allChecked = Array.from(checkboxes).every((cb) =>
cb.checked);
- checkboxes.forEach((cb) => (cb.checked = !allChecked));
+ checkboxes.forEach((cb) => {
+ cb.checked = !allChecked;
+ });
button.textContent = allChecked
? "Select all committees"
: "Deselect all committees";
});
- container.appendChild(button);
+ container.append(button);
});
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]