]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/browse.js
Check API status before authorizing access
[rails.git] / app / assets / javascripts / index / browse.js
index 3f888c1cdca5d7a214159ff5bb4cc40b665b7cfb..1140515f5629b93ebd8b04079b806d69493fd5cb 100644 (file)
@@ -110,6 +110,10 @@ OSM.initializeBrowse = function (map) {
           displayFeatureWarning(features.length, maxFeatures, addFeatures, cancelAddFeatures);
         }
 
+        if (map._objectLayer) {
+          map._objectLayer.bringToFront();
+        }
+
         dataLoader = null;
       }
     });