X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f6eebcd970d5f595f1c66359fe2322b9dedaa55..9bfae01a99665342ce2ce83a06f8ef32432dcfa4:/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);