X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3227f401935e809edc91d360339220a89567db7a..8acdba8bdd2be14c2408518812660431fa9e59fb:/public/javascripts/pngfix.js diff --git a/public/javascripts/pngfix.js b/public/javascripts/pngfix.js deleted file mode 100644 index e6ca5d6f7..000000000 --- a/public/javascripts/pngfix.js +++ /dev/null @@ -1,25 +0,0 @@ -function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher. -{ - for(var i=0; i 0 && !img.id.match(/^OpenLayers/)) - { - var imgID = (img.id) ? "id='" + img.id + "' " : "" - var imgClass = (img.className) ? "class='" + img.className + "' " : "" - var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' " - var imgStyle = "display:inline-block;" + img.style.cssText - if (img.align == "left") imgStyle = "float:left;" + imgStyle - if (img.align == "right") imgStyle = "float:right;" + imgStyle - if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle - var strNewHTML = "" - img.outerHTML = strNewHTML - i = i-1 - } - } -} -window.attachEvent("onload", correctPNG);