integrated attribution fix to Leaflet code

This commit is contained in:
DennisSchiefer 2012-05-15 10:08:40 +01:00
parent e706a9867d
commit a53a34a261
2 changed files with 2 additions and 2 deletions

View File

@ -4912,7 +4912,7 @@ L.Control.Attribution = L.Class.extend({
var attribs = []; var attribs = [];
for (var i in this._attributions) { for (var i in this._attributions) {
if (this._attributions.hasOwnProperty(i)) { if (this._attributions.hasOwnProperty(i) && this._attributions[i]) { // DS_CHANGE: fix for attribution bug (also changed in leaflet.js!)
attribs.push(i); attribs.push(i);
} }
} }

File diff suppressed because one or more lines are too long