Added optional parameter to fixalpha to support using it with skins which have differ...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 23 Jun 2009 22:30:50 +0000 (22:30 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 23 Jun 2009 22:30:50 +0000 (22:30 +0000)
skins/common/IEFixes.js

index f85f506..0442f45 100644 (file)
@@ -16,11 +16,11 @@ function hookit() {
 }
 
 // png alpha transparency fixes
-function fixalpha() {
+function fixalpha( logoId ) {
     // bg
     if (isMSIE55 && !doneIEAlphaFix)
     {
-        var plogo = document.getElementById('p-logo');
+        var plogo = document.getElementById( logoId || 'p-logo' );
         if (!plogo) return;
 
         var logoa = plogo.getElementsByTagName('a')[0];