X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f6eebcd970d5f595f1c66359fe2322b9dedaa55..dd905b5aa893918168c644045aa1b6069e95d48e:/app/assets/javascripts/index/new_note.js?ds=sidebyside 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);