]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/browse.js
Move leaflet.contextmenu 3rd party code to "vendor" folder
[rails.git] / app / assets / javascripts / index / browse.js
index 5db23a975f5d8bebee6e29f54f5edca31d6056ef..28a830858f2534168629fb1f86385b0d19285a69 100644 (file)
@@ -1,4 +1,4 @@
-function initializeBrowse(map) {
+OSM.initializeBrowse = function (map) {
   var browseBounds;
   var selectedLayer;
   var dataLayer = map.dataLayer;
@@ -127,4 +127,4 @@ function initializeBrowse(map) {
     // Stash the currently drawn feature
     selectedLayer = layer;
   }
-}
+};