Index: trunk/extensions/UsabilityInitiative/Vector/Modules/FooterCleanup/FooterCleanup.js |
— | — | @@ -35,9 +35,7 @@ |
36 | 36 | $j( '#wpSummary' ) |
37 | 37 | .add( '.editCheckboxes' ) |
38 | 38 | .wrapAll( '<div id="editpage-summary-fields"></div>'); |
39 | | - |
40 | | - $j( '#editpage-specialchars' ).remove(); |
41 | | - |
| 39 | + |
42 | 40 | // transclusions |
43 | 41 | // FIXME - bad CSS styling here with double class selectors. Should address here. |
44 | 42 | var transclusionCount = ( $j( '.templatesUsed ul li' ).length ); |
— | — | @@ -59,13 +57,9 @@ |
60 | 58 | return false; |
61 | 59 | }) |
62 | 60 | .trigger( 'click' ); |
63 | | - $j( '#wpPreview' ) |
| 61 | + $j( '#wpPreview, #wpDiff, .editHelp, #editpage-specialchars' ) |
64 | 62 | .remove(); |
65 | | - $j( '#wpDiff' ) |
66 | | - .remove(); |
67 | 63 | $j( '#mw-editform-cancel' ) |
68 | 64 | .remove() |
69 | 65 | .appendTo('.editButtons'); |
70 | | - $j( '.editHelp' ) |
71 | | - .remove(); |
72 | 66 | } ); |