aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-04-29 15:34:30 +1000
committerYuchen Pei <hi@ypei.me>2022-04-29 15:34:30 +1000
commit14d68d150afd90a74a710475e723d7d9917ec780 (patch)
treef1ae2371eadc851dae551bdd97806270a5cca916
parent29990335145eca0986c824e2b23cd9ce69217dab (diff)
fixing complaint dialog close bug
- https://lists.gnu.org/archive/html/bug-librejs/2021-09/msg00002.html
-rw-r--r--content/contactFinder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/contactFinder.js b/content/contactFinder.js
index 6b6cc44..c8689c0 100644
--- a/content/contactFinder.js
+++ b/content/contactFinder.js
@@ -308,7 +308,7 @@ function main() {
}
content.appendChild(list);
}
- Array.forEach(contentDoc.querySelectorAll(".close, a"), makeCloser);
+ contentDoc.querySelectorAll(".close, a").forEach(makeCloser);
debug("frame initialized");
}