aboutsummaryrefslogtreecommitdiff
path: root/Info
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-09-22 21:45:29 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-09-22 21:45:29 +0200
commitb428050de1172563efaa0f8978fa11eca3b6fb29 (patch)
treeb79dd288627b5565cace4e2f8a56a776cf80d741 /Info
parent284968c2da70c48052d7b23efb32ed6364581fb0 (diff)
downloadunterricht-b428050de1172563efaa0f8978fa11eca3b6fb29.tar.gz
unterricht-b428050de1172563efaa0f8978fa11eca3b6fb29.zip
planet: scope special page init scripts
This prevents name collisions with other scripts.
Diffstat (limited to 'Info')
-rw-r--r--Info/9/3/Planet/algorithmik/hoehle/hoehle.md2
-rw-r--r--Info/9/3/Planet/modellierung/landung/online-ide.md2
2 files changed, 4 insertions, 0 deletions
diff --git a/Info/9/3/Planet/algorithmik/hoehle/hoehle.md b/Info/9/3/Planet/algorithmik/hoehle/hoehle.md
index 0b9e3250..962550a9 100644
--- a/Info/9/3/Planet/algorithmik/hoehle/hoehle.md
+++ b/Info/9/3/Planet/algorithmik/hoehle/hoehle.md
@@ -2,6 +2,7 @@
section: Die Höhle
include-after: |
<script>
+ {
// Get a link to this course's encrypted tipp activity
const activityAutoLinkDiv = document.getElementById("hint-autolink");
const activityLinkNode = activityAutoLinkDiv.children[0].children[0];
@@ -18,6 +19,7 @@ include-after: |
const tippBase64 = window.btoa(tipp);
const tippNode = document.getElementById("hint");
tippNode.innerHTML = tippBase64;
+ }
</script>
---
diff --git a/Info/9/3/Planet/modellierung/landung/online-ide.md b/Info/9/3/Planet/modellierung/landung/online-ide.md
index 7a675ddb..cbdc2e91 100644
--- a/Info/9/3/Planet/modellierung/landung/online-ide.md
+++ b/Info/9/3/Planet/modellierung/landung/online-ide.md
@@ -2,6 +2,7 @@
section: Landung
include-after: |
<script>
+ {
async function fetchJson(url) {
try {
const response = await fetch(url);
@@ -38,6 +39,7 @@ include-after: |
}
}
});
+ }
</script>
---