Skip to content

Commit

Permalink
Fixed jshint error preventing build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Battle authored and arusahni committed Sep 8, 2016
1 parent bd903ea commit 7b1f6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leaflet.dvf.utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ L.Util.pointToGeoJSON = function () {
};

L.Util.updateLayer = function (layer, updateFunction) {
if (layer.eachLayer && !layer instanceof L.FeatureGroup) {
if (layer.eachLayer && !(layer instanceof L.FeatureGroup)) {
layer.eachLayer(function (layer) {
L.Util.updateLayer(layer, updateFunction);
});
Expand Down

0 comments on commit 7b1f6e5

Please sign in to comment.