Skip to content

Commit

Permalink
fix signature shift in recursive call
Browse files Browse the repository at this point in the history
In L.HTMLUtils.buildTable, the recursive call loses the ingnoredFields argument for nested structures.
  • Loading branch information
krusty authored Nov 4, 2016
1 parent 38b652f commit 2fe30ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/leaflet.dvf.utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ L.HTMLUtils = {
var value = obj[property];
if (typeof value === 'object') {
var container = document.createElement('div');
container.appendChild(L.HTMLUtils.buildTable(value, ignoreFields));
container.appendChild(L.HTMLUtils.buildTable(value, className, ignoreFields));
value = container.innerHTML;
}

Expand Down Expand Up @@ -1178,4 +1178,4 @@ L.Animation = L.Class.extend({
this._inProgress = false;
this.fire('end');
}
});
});

0 comments on commit 2fe30ce

Please sign in to comment.