https://bugzilla.wikimedia.org/show_bug.cgi?id=40792
--- Comment #3 from Krinkle <[email protected]> 2012-10-06 07:25:02 UTC --- (In reply to comment #2) > I think that CSS solution would not work for the case where someone is adding > the class="mw-collapsible mw-collapsed" from a user script and calling > $(...).makeCollapsible() In that case the element would collapse as soon as the class is added. Calling makeCollapsible will then add the relevant event handlers so that the user can change the state. Note that if javascript is disabled it will always be shown even if CSS hides it with mw-collapsed because the selector would be prefixed with .client-js (which the mw.page module adds to the document). -- 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
