summaryrefslogtreecommitdiff
path: root/extensions/Vector/modules/ext.vector.collapsibleNav.js
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-05-03 13:01:35 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-05-03 13:01:35 +0200
commitd9022f63880ce039446fba8364f68e656b7bf4cb (patch)
tree16b40fbf17bf7c9ee6f4ead25b16dd192378050a /extensions/Vector/modules/ext.vector.collapsibleNav.js
parent27cf83d177256813e2e802241085fce5dd0f3fb9 (diff)
Update to MediaWiki 1.19.0
Diffstat (limited to 'extensions/Vector/modules/ext.vector.collapsibleNav.js')
-rw-r--r--extensions/Vector/modules/ext.vector.collapsibleNav.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/Vector/modules/ext.vector.collapsibleNav.js b/extensions/Vector/modules/ext.vector.collapsibleNav.js
index 6e72ef84..5da57aca 100644
--- a/extensions/Vector/modules/ext.vector.collapsibleNav.js
+++ b/extensions/Vector/modules/ext.vector.collapsibleNav.js
@@ -172,10 +172,14 @@ jQuery( function( $ ) {
) {
$(this)
.addClass( 'expanded' )
+ .removeClass( 'collapsed' )
.find( 'div.body' )
+ .hide() // bug 34450
.show();
} else {
- $(this).addClass( 'collapsed' );
+ $(this)
+ .addClass( 'collapsed' )
+ .removeClass( 'expanded' );
}
// Re-save cookie
if ( state != null ) {