follow up r88502 with a fix to resource loader to restore tochidden

removal addition.
This commit is contained in:
Mark A. Hershberger 2011-06-02 16:38:55 +00:00
parent ec83e2da6e
commit bf52ea8762

View file

@ -201,6 +201,7 @@
if ( $tocList.is( ':hidden' ) ) {
$tocList.slideDown( 'fast', callback );
$toggleLink.text( mw.msg( 'hidetoc' ) );
$( '#toc' ).removeClass( 'tochidden' );
$.cookie( 'mw_hidetoc', null, {
expires: 30,
path: '/'
@ -209,6 +210,7 @@
} else {
$tocList.slideUp( 'fast', callback );
$toggleLink.text( mw.msg( 'showtoc' ) );
$( '#toc' ).addClass( 'tochidden' );
$.cookie( 'mw_hidetoc', '1', {
expires: 30,
path: '/'