From 78c07fdead68a5f0dc3ca8297a0b039cb1c02149 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 12 Aug 2026 18:06:15 +0200 Subject: planet: fix syntax in h5p-autoembed js --- Info/9/3/Planet/templates/h5p-autoembed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3