mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-01-16 20:35:19 +01:00
Ongoing development.
This commit is contained in:
@@ -71,7 +71,7 @@ HTML;
|
||||
$object = $event->getObject();
|
||||
|
||||
if ($object instanceof Map) {
|
||||
$line = sprintf('window.ContaoLeaflet.addMap(\'%s\', (function() {', $object->getId());
|
||||
$line = sprintf('ContaoLeaflet.addMap(\'%s\', (function() {', $object->getId());
|
||||
$event->getOutput()->addLine($line);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user