fixxed ui-channels.js
This commit is contained in:
@@ -167,14 +167,14 @@
|
||||
|
||||
<!-- Seiten-spezifische Config setzen (nur wenn config existiert) -->
|
||||
{% block scripts %}
|
||||
{{ super() }} <!-- Ruft den Basis-Block auf (Module laden + Initialisierung) -->
|
||||
|
||||
<script>
|
||||
// Config + globale Sounds global verfügbar machen (nur auf dieser Seite)
|
||||
// Config + globale Sounds global verfügbar machen (muss VOR initConfig passieren)
|
||||
window.mkConfig = {{ config | tojson | safe }};
|
||||
window.mkGlobalSounds = {{ global_sounds | tojson | safe }};
|
||||
|
||||
console.log("control.html → mkConfig gesetzt:", window.mkConfig);
|
||||
console.log("control.html → mkGlobalSounds:", window.mkGlobalSounds);
|
||||
</script>
|
||||
|
||||
{{ super() }} <!-- Basis-Skripte + Initialisierung -->
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user