Fix some JSHint complaints

This commit is contained in:
Tom Hughes 2015-02-23 20:47:38 +00:00
parent 6671a934bf
commit 1596713871
22 changed files with 96 additions and 93 deletions

View file

@ -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);