You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2025/12/11 19:48:21 UTC

(tooling-trusted-releases) branch main updated: Fix a small linter error in the script to toggle key committees

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 <se...@miscoranda.com>
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: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org