diff --git a/module/assets/js/contao-leaflet.js b/assets/libs/contao/contao-leaflet.js similarity index 100% rename from module/assets/js/contao-leaflet.js rename to assets/libs/contao/contao-leaflet.js diff --git a/src/Netzmacht/Contao/Leaflet/Subscriber/BootSubscriber.php b/src/Netzmacht/Contao/Leaflet/Subscriber/BootSubscriber.php index ad7317d..233dfe4 100644 --- a/src/Netzmacht/Contao/Leaflet/Subscriber/BootSubscriber.php +++ b/src/Netzmacht/Contao/Leaflet/Subscriber/BootSubscriber.php @@ -117,7 +117,7 @@ class BootSubscriber implements EventSubscriberInterface */ public function loadAssets() { - $GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/leaflet/assets/js/contao-leaflet.js|static'; + $GLOBALS['TL_JAVASCRIPT'][] = 'assets/leaflet/libs/contao/contao-leaflet.js|static'; } /**