Use L.Contao as reference to the Contao integration object.

This commit is contained in:
David Molineus committed 2015-01-15 01:10:36 +01:00
1 parent 8186a0b3ee
commit 6fbc1a9bf3
5 files changed
+36 -15

No files matched your search

@@ -150,7 +150,7 @@ class BootSubscriber implements EventSubscriberInterface
}
if ($icons) {
$buffer = sprintf('ContaoLeaflet.loadIcons(%s);', json_encode($icons));
$buffer = sprintf('L.Contao.loadIcons(%s);', json_encode($icons));
}
$file = new \File('assets/leaflet/js/icons.js');