maps: remove unused data attribute (#22822)
This commit is contained in:
parent
27186abb01
commit
3b79d3c228
|
@ -96,7 +96,6 @@ $(function() {
|
|||
var map = L.map($map_widget[0], map_options);
|
||||
var map_controls_position = $('body').data('map-controls-position') || 'topleft';
|
||||
new L.Control.Zoom({position: map_controls_position}).addTo(map);
|
||||
var store_position_selector = $map_widget.data('store-position');
|
||||
|
||||
$map_widget[0].leaflet_map = map;
|
||||
map.setView(latlng, map_options.zoom);
|
||||
|
|
Loading…
Reference in New Issue