X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b4c0bfd8fa324a4c9d8b24e8753d134524ea61c7..97a4e25f909cf80c9e97edece6ce7c9b209d323c:/public/javascripts/pngfix.js?ds=sidebyside diff --git a/public/javascripts/pngfix.js b/public/javascripts/pngfix.js index 0fdefc6b2..e6ca5d6f7 100644 --- a/public/javascripts/pngfix.js +++ b/public/javascripts/pngfix.js @@ -4,7 +4,7 @@ function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or high { var img = document.images[i] var imgName = img.src.toUpperCase() - if (imgName.indexOf('.PNG') > 0) + if (imgName.indexOf('.PNG') > 0 && !img.id.match(/^OpenLayers/)) { var imgID = (img.id) ? "id='" + img.id + "' " : "" var imgClass = (img.className) ? "class='" + img.className + "' " : ""