Lowercasee L.contao.

This commit is contained in:
David Molineus
2015-01-15 13:01:58 +01:00
parent 6d0c533922
commit 1cc48a4cc1
5 changed files with 13 additions and 13 deletions

View File

@@ -1,8 +1,8 @@
<div id="<?php echo $mapId; ?>" style="<?php echo $style; ?>"></div>
<?php $GLOBALS['TL_BODY'][] = <<<HTML
<script>
L.Contao.addMap('{$mapId}', function() {
L.contao.addMap('{$mapId}', function() {
{$javascript}
return { map: map, layers: layers, controls: controls, icons: icons };
return { map: map, layers: layers, controls: controls, icons: icons };
}());</script>
HTML;

View File

@@ -1,5 +1,5 @@
L.Contao.addMap('<?php echo $mapId; ?>', function() {
L.contao.addMap('<?php echo $mapId; ?>', function() {
<?php echo $javascript; ?>
return { map: map, layers: layers, controls: controls, icons: icons };
return { map: map, layers: layers, controls: controls, icons: icons };
}());