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