Content deleted Content added
Dinoguy1000 (talk | contribs) correct function name is attr(), not addAttr() (that's not confusing... >_> ) |
Dinoguy1000 (talk | contribs) default to collapsed, since mw-collapsible doesn't have autocollapse and I'm not sure how else to work around it |
||
Line 302:
tbl
:addClass('mw-collapsible')
-- mw-collapsible doesn't have an "autocollapse" feature, so fall back on collapsed by default for now
:addClass(args.state and 'mw-' .. args.state or 'mw-collapsed')
:attr('data-collapsetext', 'hide')
:attr('data-expandtext', 'show')
|