X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f6eebcd970d5f595f1c66359fe2322b9dedaa55..8cef62cd2cec4a297e46b4f2a86c9afeadb3b283:/app/assets/javascripts/index/new_note.js diff --git a/app/assets/javascripts/index/new_note.js b/app/assets/javascripts/index/new_note.js index 906a6a33a..59fbeeb1d 100644 --- a/app/assets/javascripts/index/new_note.js +++ b/app/assets/javascripts/index/new_note.js @@ -85,7 +85,7 @@ OSM.NewNote = function (map) { }; function newHalo(loc, a) { - var hasHalo = halo && map.hasLayer(halo) + var hasHalo = halo && map.hasLayer(halo); if (a === "dragstart" && hasHalo) { map.removeLayer(halo);