From b6e5eb105323c3d4eda168371d3e2435a7413c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 19 Jul 2022 10:25:16 +0200 Subject: [PATCH] maps: unmark map cell as empty once a map has been set (#67467) --- combo/apps/maps/static/js/combo.map.js | 1 + 1 file changed, 1 insertion(+) diff --git a/combo/apps/maps/static/js/combo.map.js b/combo/apps/maps/static/js/combo.map.js index 3532813e..f60d4595 100644 --- a/combo/apps/maps/static/js/combo.map.js +++ b/combo/apps/maps/static/js/combo.map.js @@ -286,6 +286,7 @@ $(function() { } $map_widget[0].leaflet_map = map; + $(cell).removeClass('empty-cell'); map.setView(latlng, map_options.zoom); if (init_state == 'device-location') {