fix(tour): doppeltes Include durch Jinja-Tag in JS-Kommentar
Im JS-Kommentar des Topbar-Toggle-Skripts stand wörtlich
{% include "v3/components/tour.html" %} — Jinja parst das auch
innerhalb von /* ... */-Kommentaren und renderte das include ein
zweites Mal. Folge: 4 window.gwoeTourStart-Definitionen, doppeltes
Tour-Overlay-DOM, doppeltes <audio>-Element. Fix: Kommentar
umformuliert ohne Jinja-Tag.
This commit is contained in:
parent
4c989ea443
commit
722156cff6
@ -341,10 +341,10 @@
|
||||
|
||||
<script>
|
||||
/* Tour-Link in der Topbar einblenden, wenn die Tour-Engine geladen ist —
|
||||
das ist auf allen Pages außer Administration der Fall (siehe
|
||||
{% include "v3/components/tour.html" %} im body unten). Pages ohne
|
||||
eigene window.GWOE_TOUR_STEPS bekommen eine Fallback-Tour mit
|
||||
Topbar + Sidebar + Logo-Erklärung. */
|
||||
das ist auf allen Pages außer Administration der Fall (das
|
||||
tour.html-Include kommt aus dem body oben). Pages ohne eigene
|
||||
window.GWOE_TOUR_STEPS bekommen eine Fallback-Tour mit Topbar +
|
||||
Sidebar + Logo-Erklärung. */
|
||||
(function () {
|
||||
var link = document.getElementById('v2-topbar-tour');
|
||||
if (link && typeof window.gwoeTourStart === 'function') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user