r52330 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52329‎ | r52330 | r52331 >
Date:22:30, 23 June 2009
Author:tparscal
Status:ok
Tags:
Comment:
Added optional parameter to fixalpha to support using it with skins which have different ID naming schemes
Modified paths:
  • /trunk/phase3/skins/common/IEFixes.js (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/common/IEFixes.js
@@ -16,11 +16,11 @@
1717 }
1818
1919 // png alpha transparency fixes
20 -function fixalpha() {
 20+function fixalpha( logoId ) {
2121 // bg
2222 if (isMSIE55 && !doneIEAlphaFix)
2323 {
24 - var plogo = document.getElementById('p-logo');
 24+ var plogo = document.getElementById( logoId || 'p-logo' );
2525 if (!plogo) return;
2626
2727 var logoa = plogo.getElementsByTagName('a')[0];

Follow-up revisions

RevisionCommit summaryAuthorDate
r52332Merge from trunk (r52011-r52330)demon23:20, 23 June 2009

Status & tagging log