X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..1f13321a60239881f7016044b79e9a4d58045e30:/app/assets/javascripts/index/note.js diff --git a/app/assets/javascripts/index/note.js b/app/assets/javascripts/index/note.js index 5bf3f543a..85267ab93 100644 --- a/app/assets/javascripts/index/note.js +++ b/app/assets/javascripts/index/note.js @@ -40,7 +40,7 @@ OSM.Note = function (map) { initialize(function() { var data = $('.details').data(), latLng = L.latLng(data.coordinates.split(',')); - if (!map.getBounds().contains(latLng)) moveToNote(); + if (!map.getBounds().contains(latLng)) moveToNote(); }); }); }; @@ -87,7 +87,7 @@ OSM.Note = function (map) { currentNote = L.marker(latLng, { icon: noteIcons[data.status], opacity: 1, - clickable: true + interactive: true }); map.addLayer(currentNote);