X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6671a934bf10ad202576d5ca0c1591cf2ef627f8..1596713871672cc319b0d68b51a3698cc6bf0972:/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 4fe3fcaeb..55c5cbc93 100644 --- a/app/assets/javascripts/index/new_note.js +++ b/app/assets/javascripts/index/new_note.js @@ -81,7 +81,7 @@ OSM.NewNote = function(map) { }; function newHalo(loc, a) { - if (a == 'dragstart' && map.hasLayer(halo)) { + if (a === 'dragstart' && map.hasLayer(halo)) { map.removeLayer(halo); } else { if (map.hasLayer(halo)) map.removeLayer(halo);