r52845 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52844‎ | r52845 | r52846 >
Date:17:02, 7 July 2009
Author:thomasv
Status:deferred
Tags:
Comment:
minor fix
Modified paths:
  • /trunk/extensions/ProofreadPage/proofread.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/proofread.js
@@ -853,7 +853,7 @@
854854 +'<span class="quality4"> <input type="radio" name="quality" value=4 onclick="pr_add_quality(this.form,4)"> </span>';
855855 f.innerHTML = f.innerHTML + '&nbsp;' + escapeQuotesHTML(proofreadPageMessageStatus);
856856
857 - if(!wgUserName) f.setStyleAttribute('hidden');
 857+ if(!wgUserName) f.style.cssText = 'display:none';
858858 ig.parentNode.insertBefore(f,ig.nextSibling.nextSibling.nextSibling);
859859
860860 if( ! ( ( self.proofreadpage_quality == 4 ) || ( ( self.proofreadpage_quality == 3 ) && ( self.proofreadpage_username != wgUserName ) ) ) ) {

Status & tagging log