aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Info/9/3/Planet/templates/h5p-autoembed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Info/9/3/Planet/templates/h5p-autoembed.js b/Info/9/3/Planet/templates/h5p-autoembed.js
index a6d89874..1dd51e42 100644
--- a/Info/9/3/Planet/templates/h5p-autoembed.js
+++ b/Info/9/3/Planet/templates/h5p-autoembed.js
@@ -1,6 +1,6 @@
const autoEmbedLinksDivs = document.querySelectorAll(".h5p-autoembed");
let loadAutoResizerJs = false;
-for (div of autoEmbedLinksDivs) {
+for (const div of autoEmbedLinksDivs) {
const autoEmbedLink = div.querySelector("a.autolink");
const autoEmbedUrl = new URL(autoEmbedLink.href);
const autoEmbedId = autoEmbedUrl.searchParams.get("id");