https://bugzilla.wikimedia.org/show_bug.cgi?id=34450

--- Comment #26 from [email protected] 2012-02-24 13:43:30 UTC ---
(In reply to comment #25)

I believe the code from
https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Vector/modules/ext.vector.collapsibleNav.js?view=markup#l173
should be
----
) {
    $(this)
        .addClass( 'expanded' )
        .removeClass( 'collapsed' )
        .find( 'div.body' )
        .hide() // bug 34450
        .show();
} else {
    $(this).addClass( 'collapsed' )
        .removeClass( 'expanded' );
}
----

to make sure it gets one, and only one, of the classes, because currently the
error happens because the div get both classes:
----
<div id="p-interproject" class="portal collapsed expanded"><h5
tabindex="5">Correlatos</h5>...
----
or none of them.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to