]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/note.js
Resize change bounding boxes on a zoom change
[rails.git] / app / assets / javascripts / index / note.js
index 6062f70030c63eea48e244590233f36251d04061..3973420bdd3d3536682aa0b87b6720c65b7e9874 100644 (file)
@@ -1,6 +1,5 @@
 OSM.Note = function (map) {
-  var noteLayer = map.noteLayer,
-    content = $('#sidebar_content'),
+  var content = $('#sidebar_content'),
     page = {},
     halo, currentNote;
 
@@ -88,7 +87,7 @@ OSM.Note = function (map) {
     currentNote = L.marker(latLng, {
       icon: noteIcons[data.status],
       opacity: 1,
-      clickable: true
+      interactive: true
     });
 
     map.addLayer(currentNote);