aboutsummaryrefslogtreecommitdiff
path: root/Info/9/3/Planet
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-08-12 18:06:15 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-08-12 18:06:15 +0200
commit78c07fdead68a5f0dc3ca8297a0b039cb1c02149 (patch)
tree1c338f72c9031cccd86eb3778b40cf8405ef66f0 /Info/9/3/Planet
parent287c232bfeb9419148223ce5a9a5c6c163583403 (diff)
downloadunterricht-78c07fdead68a5f0dc3ca8297a0b039cb1c02149.tar.gz
unterricht-78c07fdead68a5f0dc3ca8297a0b039cb1c02149.zip
planet: fix syntax in h5p-autoembed js
Diffstat (limited to 'Info/9/3/Planet')
-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");