Skip to content
Snippets Groups Projects
Commit d7d4d8bb authored by Demian Katz's avatar Demian Katz
Browse files

Merge branch 'release-3.1'

parents 1cc8915e 3d084d77
No related merge requests found
...@@ -27,6 +27,11 @@ function loadMapTab(mapData, popupTitle) { ...@@ -27,6 +27,11 @@ function loadMapTab(mapData, popupTitle) {
}) })
}); });
// close map popups if not on the Map tab
$('.record-tabs .map').on('hide.bs.tab', function closePopups() {
$('#popup').popover('destroy');
});
$('#map-canvas').show(); $('#map-canvas').show();
init = function drawMap() { init = function drawMap() {
var featureCount = mapData.length; var featureCount = mapData.length;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment