From: Tom Hughes Date: Mon, 18 Apr 2022 13:23:02 +0000 (+0100) Subject: Fix eslint warning X-Git-Tag: live~1176 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/877867537bb2536f83a79d0776ebdd80c33f0772?hp=0295b05bdf052c4a031a5bc937ca48a5b185b232 Fix eslint warning --- 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);