diff --git a/src/Netzmacht/Contao/Leaflet/Subscriber/EncoderSubscriber.php b/src/Netzmacht/Contao/Leaflet/Subscriber/EncoderSubscriber.php index c06016e..c86a2e3 100644 --- a/src/Netzmacht/Contao/Leaflet/Subscriber/EncoderSubscriber.php +++ b/src/Netzmacht/Contao/Leaflet/Subscriber/EncoderSubscriber.php @@ -73,6 +73,7 @@ class EncoderSubscriber implements EventSubscriberInterface if ($value instanceof Icon) { // Do not encode the icon, as it is generated in an separate icon file. $event->setSuccessful(); + $event->stopPropagation(); } }