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 93194b5 Fix a small lint issue in the script to process ignore form
changes
93194b5 is described below
commit 93194b5dc7c546be77cf9a97a7d3e0fd91b2f032
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Dec 11 19:44:54 2025 +0000
Fix a small lint issue in the script to process ignore form changes
---
atr/static/js/src/ignore-form-change.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/atr/static/js/src/ignore-form-change.js
b/atr/static/js/src/ignore-form-change.js
index a61efe7..b69f6ad 100644
--- a/atr/static/js/src/ignore-form-change.js
+++ b/atr/static/js/src/ignore-form-change.js
@@ -5,10 +5,10 @@ document.addEventListener("DOMContentLoaded", () => {
var row = input.closest("tr");
var updateBtn = row.querySelector("button.btn-primary");
function check() {
- if (input.value !== input.dataset.value) {
- updateBtn.classList.remove("disabled");
- } else {
+ if (input.value === input.dataset.value) {
updateBtn.classList.add("disabled");
+ } else {
+ updateBtn.classList.remove("disabled");
}
}
input.addEventListener("input", check);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]