From 2788a283139ee150dcb6941a47c41ef16159922e Mon Sep 17 00:00:00 2001 From: Tsche Date: Thu, 15 Feb 2024 07:05:01 +0100 Subject: [PATCH] undo accidental revert --- doxygen-awesome/doxygen-awesome-charts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doxygen-awesome/doxygen-awesome-charts.js b/doxygen-awesome/doxygen-awesome-charts.js index 6dfc5e5..1abfb71 100644 --- a/doxygen-awesome/doxygen-awesome-charts.js +++ b/doxygen-awesome/doxygen-awesome-charts.js @@ -31,7 +31,7 @@ class DoxygenAwesomeCharts { } const fragments = document.getElementsByClassName('fragment'); - for (const fragment of fragments) { + for (const fragment of Array.from(fragments)) { fragment.querySelectorAll('.lineno, .ttc').forEach((node) => {node.remove()}); let {textContent} = fragment; textContent = textContent.trim();