X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97bb13595750d2ba5d03a5abe2ede7cd11a8a481..7f619c6484ae92d6ea12f1c3a9f67c3d421ae06a:/app/assets/javascripts/index/browse.js diff --git a/app/assets/javascripts/index/browse.js b/app/assets/javascripts/index/browse.js index 3f888c1cd..1140515f5 100644 --- a/app/assets/javascripts/index/browse.js +++ b/app/assets/javascripts/index/browse.js @@ -110,6 +110,10 @@ OSM.initializeBrowse = function (map) { displayFeatureWarning(features.length, maxFeatures, addFeatures, cancelAddFeatures); } + if (map._objectLayer) { + map._objectLayer.bringToFront(); + } + dataLoader = null; } });