Difference between revisions of "MediaWiki:Doduco.js"
From Electrical Contacts
Doduco Admin (talk | contribs) |
Doduco Admin (talk | contribs) |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | jQuery( function ( $ ) { | + | mw.loader.using('jquery.ui.accordion', function () { |
| − | + | jQuery(document).ready(function ($) { | |
| + | $('.accordion').accordion({ heightStyle: "content", collapsible: true, header: ".accordion-header", active: -1, autoHeight: false }); | ||
| + | }); | ||
}) | }) | ||
Latest revision as of 12:23, 13 May 2014
mw.loader.using('jquery.ui.accordion', function () {
jQuery(document).ready(function ($) {
$('.accordion').accordion({ heightStyle: "content", collapsible: true, header: ".accordion-header", active: -1, autoHeight: false });
});
})