Fix some JSHint complaints
This commit is contained in:
parent
6671a934bf
commit
1596713871
22 changed files with 96 additions and 93 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue