maps: remove unused data attribute (#22822)

This commit is contained in:
Frédéric Péters 2018-03-27 13:47:31 +02:00
parent 27186abb01
commit 3b79d3c228
1 changed files with 0 additions and 1 deletions

View File

@ -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);