Index: trunk/extensions/ProofreadPage/proofread.js |
— | — | @@ -754,10 +754,10 @@ |
755 | 755 | pr_make_edit_area( self.text_container, text.value ); |
756 | 756 | f.insertBefore( table, text.nextSibling ); // Inserts table after text |
757 | 757 | f.removeChild( text ); |
758 | | - if ( mw.user.options.get( 'proofreadpage-showheaders' ) ) { |
759 | | - hookEvent( 'load', pr_reset_size ); |
| 758 | + if ( mw.user.options.get( 'proofreadpage-showheaders' ) ) { |
| 759 | + hookEvent( 'load', pr_reset_size ); |
760 | 760 | } else { |
761 | | - hookEvent( 'load', pr_toggle_visibility ); |
| 761 | + hookEvent( 'load', pr_toggle_visibility ); |
762 | 762 | } |
763 | 763 | } else { |
764 | 764 | var new_text = f.removeChild( text ); |