r82409 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82408‎ | r82409 | r82410 >
Date:17:38, 18 February 2011
Author:thomasv
Status:ok
Tags:
Comment:
fix for pagetext css
Modified paths:
  • /trunk/extensions/ProofreadPage/proofread.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/proofread.js
@@ -893,12 +893,8 @@
894894 }
895895
896896 // add CSS classes to the container div
897 - var c = document.getElementById( 'pagequality' );
898 - if( c ) {
899 - c = c.nextSibling;
900 - if( c.className == 'pagetext' ) {
901 - c.className += ' ' + self.proofreadPageCss;
902 - }
 897+ if( self.proofreadPageCss) {
 898+ $( 'div.pagetext' ).addClass( self.proofreadPageCss );
903899 }
904900 }
905901

Follow-up revisions

RevisionCommit summaryAuthorDate
r825331.17wmf1: MFT r78893, r78897, r78909, r82404, r82408, r82409, r82453, r82456,...catrope20:13, 20 February 2011
r85027MFT various extension fixes: r81713, r81742, r81743, r81908, r81966, r81969, ...demon18:23, 30 March 2011

Status & tagging log