[OpenLayers-Commits] r11889 - trunk/openlayers/lib/OpenLayers/Layer

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Thu Apr 14 11:00:16 EDT 2011


Author: tschaub
Date: 2011-04-14 08:00:12 -0700 (Thu, 14 Apr 2011)
New Revision: 11889

Modified:
   trunk/openlayers/lib/OpenLayers/Layer/Bing.js
Log:
Correcting markup in attribution template for Bing layer.  p=manchito r=me (closes #3260).

Modified: trunk/openlayers/lib/OpenLayers/Layer/Bing.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/Bing.js	2011-04-09 12:22:52 UTC (rev 11888)
+++ trunk/openlayers/lib/OpenLayers/Layer/Bing.js	2011-04-14 15:00:12 UTC (rev 11889)
@@ -24,7 +24,7 @@
      */
     attributionTemplate: '<span class="olBingAttribution ${type}">' +
          '<div><a target="_blank" href="http://www.bing.com/maps/">' +
-         '<img src="${logo}"></img></div></a>${copyrights}' +
+         '<img src="${logo}" /></a></div>${copyrights}' +
          '<a style="white-space: nowrap" target="_blank" '+
          'href="http://www.microsoft.com/maps/product/terms.html">' +
          'Terms of Use</a></span>',



More information about the Commits mailing list