]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/notes.js
Move contextmenu callbacks to separate file
[rails.git] / app / assets / javascripts / index / notes.js
index 307b11e0df1def3a0cc9ee2640e8c2a3389a822e..d5ffbead13d849704b81d413e7445d818cb25819 100644 (file)
@@ -1,4 +1,4 @@
-function initializeNotes(map) {
+OSM.initializeNotes = function (map) {
   var noteLayer = map.noteLayer,
       notes = {};
 
@@ -93,4 +93,4 @@ function initializeNotes(map) {
       noteLoader = null;
     }
   }
-}
+};