X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1596713871672cc319b0d68b51a3698cc6bf0972..2e8c0d471fbefa97d1dd4fb5c5749280a4187f88:/app/assets/javascripts/index/note.js diff --git a/app/assets/javascripts/index/note.js b/app/assets/javascripts/index/note.js index 6062f7003..3973420bd 100644 --- a/app/assets/javascripts/index/note.js +++ b/app/assets/javascripts/index/note.js @@ -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);