Merge pull request #2616 from fredj/attributions-target

Target for attribution links differs between maps
This commit is contained in:
Frédéric Junod
2014-09-23 14:46:11 +02:00
3 changed files with 3 additions and 5 deletions

View File

@@ -312,8 +312,7 @@ ol.control.Attribution.prototype.insertLogos_ = function(frameState) {
logoElement = image;
} else {
logoElement = goog.dom.createDom(goog.dom.TagName.A, {
'href': logoValue,
'target': '_blank'
'href': logoValue
});
logoElement.appendChild(image);
}