r112601 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112600‎ | r112601 | r112602 >
Date:15:10, 28 February 2012
Author:mah
Status:ok
Tags:
Comment:
fixes 34450 - at least, patch with mybug's patch. Closing the bug so
that separate reports can be filed for each problem.
Modified paths:
  • /trunk/extensions/Vector/modules/ext.vector.collapsibleNav.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Vector/modules/ext.vector.collapsibleNav.js
@@ -172,11 +172,14 @@
173173 ) {
174174 $(this)
175175 .addClass( 'expanded' )
 176+ .removeClass( 'collapsed' )
176177 .find( 'div.body' )
177178 .hide() // bug 34450
178179 .show();
179180 } else {
180 - $(this).addClass( 'collapsed' );
 181+ $(this)
 182+ .addClass( 'collapsed' )
 183+ .removeClass( 'expanded' );
181184 }
182185 // Re-save cookie
183186 if ( state != null ) {

Status & tagging log