forked from Snck3rs/contao-leaflet-maps
Fix broken content element attributes (Missing class and custom id).
This commit is contained in:
@@ -119,6 +119,8 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
||||
*/
|
||||
protected function prepareTemplateData(array $data): array
|
||||
{
|
||||
$data = parent::prepareTemplateData($data);
|
||||
|
||||
try {
|
||||
$template = $this->get('leaflet_template') ?: 'leaflet_map_js';
|
||||
$mapId = $this->getIdentifier();
|
||||
|
||||
Reference in New Issue
Block a user