integrated attribution fix to Leaflet code
This commit is contained in:
parent
e706a9867d
commit
a53a34a261
@ -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
Loading…
Reference in New Issue
Block a user