Remove target attribute on attributions link

This commit is contained in:
Frederic Junod
2014-09-17 11:26:15 +02:00
parent 163cc5b873
commit 0938ab654a
3 changed files with 3 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ goog.inherits(ol.source.BingMaps, ol.source.TileImage);
* @api
*/
ol.source.BingMaps.TOS_ATTRIBUTION = new ol.Attribution({
html: '<a class="ol-attribution-bing-tos" target="_blank" ' +
html: '<a class="ol-attribution-bing-tos" ' +
'href="http://www.microsoft.com/maps/product/terms.html">' +
'Terms of Use</a>'
});

View File

@@ -47,8 +47,7 @@ goog.inherits(ol.source.MapQuest, ol.source.XYZ);
* @type {ol.Attribution}
*/
ol.source.MapQuest.TILE_ATTRIBUTION = new ol.Attribution({
html: 'Tiles Courtesy of ' +
'<a href="http://www.mapquest.com/" target="_blank">MapQuest</a>'
html: 'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'
});