From 14d68d150afd90a74a710475e723d7d9917ec780 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 29 Apr 2022 15:34:30 +1000 Subject: fixing complaint dialog close bug - https://lists.gnu.org/archive/html/bug-librejs/2021-09/msg00002.html --- content/contactFinder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v1.2.3