aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/pngfix.js
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-07-23 22:17:18 +0000
committervdigital <vdigital@piwigo.org>2008-07-23 22:17:18 +0000
commit3f7b44785195e196eda5a4224e28fc3aadad7363 (patch)
tree57c211b3a5450a90db72590f3cf28dd1e92f32f7 /template-common/pngfix.js
parentc48ec88ed478dc14f846efeb47091d389d09c3c0 (diff)
Fallback on SVN:2426 (Transparency for background is not supported by IE6).
git-svn-id: http://piwigo.org/svn/trunk@2455 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template-common/pngfix.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/template-common/pngfix.js b/template-common/pngfix.js
index 31db8bdd6..549761a1d 100644
--- a/template-common/pngfix.js
+++ b/template-common/pngfix.js
@@ -10,7 +10,7 @@ function correctPNG()
for(var i=0; i<document.images.length; i++)
{
var img = document.images[i]
- if (img.className == "button" || img.className == "icon" || img.className == "png")
+ if (img.className == "button" || img.className == "icon")
{
var imgName = img.src.toUpperCase()
if (imgName.substring(imgName.length-3, imgName.length) == "PNG")