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