]> git.openstreetmap.org Git - rails.git/commitdiff
Fix eslint warning
authorTom Hughes <tom@compton.nu>
Mon, 18 Apr 2022 13:23:02 +0000 (14:23 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 18 Apr 2022 13:23:02 +0000 (14:23 +0100)
app/assets/javascripts/index/new_note.js

index 906a6a33a3ba9e38e09592ffc3316f1e58967e19..59fbeeb1d6aa35146a0808c950923373c3d9f10b 100644 (file)
@@ -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);