Difference between revisions of "MediaWiki:Doduco.js"
From Electrical Contacts
Doduco Admin (talk | contribs) |
Doduco Admin (talk | contribs) |
||
| Line 1: | Line 1: | ||
mw.loader.using('jquery.ui.accordion', function () { | mw.loader.using('jquery.ui.accordion', function () { | ||
jQuery(document).ready(function ($) { | jQuery(document).ready(function ($) { | ||
| − | $('.accordion').accordion({ collapsible: true | + | $('.accordion').accordion({ collapsible: true, header: ".accordion-header", height: "auto", heightStyle: "content", active: -1, }); |
}); | }); | ||
}) | }) | ||
Revision as of 11:50, 13 May 2014
mw.loader.using('jquery.ui.accordion', function () {
jQuery(document).ready(function ($) {
$('.accordion').accordion({ collapsible: true, header: ".accordion-header", height: "auto", heightStyle: "content", active: -1, });
});
})