Add missing check

This commit is contained in:
Tom Payne
2012-08-13 21:31:41 +02:00
parent c7f78caec9
commit d9eb9eda60

View File

@@ -116,6 +116,7 @@ ol.control.Attribution.prototype.createAttributionElementsForLayer_ =
if (!map.isDef ||
!layerVisible ||
goog.isNull(attributionVisibilities) ||
!attributionVisibilities[attributionKey]) {
goog.style.showElement(attributionElement, false);
}