mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 06:36:03 +02:00
Do not append javascript at the body but inject them in the element/module
Consent tools might interrupt the rendering
This commit is contained in:
1 parent
e49c74c546
commit
118bb9a829
3 files changed
+8
-2
No files matched your search
@@ -9,5 +9,5 @@
|
||||
|
||||
</div>
|
||||
<!-- indexer::continue -->
|
||||
<?php $GLOBALS['TL_BODY'][] = '<script>' . $this->javascript . '</script>'; ?>
|
||||
<script><?= $this->javascript ?></script>
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
|
||||
</div>
|
||||
<!-- indexer::continue -->
|
||||
<?php $GLOBALS['TL_BODY'][] = '<script>' . $this->javascript . '</script>'; ?>
|
||||
<script><?= $this->javascript ?></script>
|
||||
Reference in new issue
Block a user