Difference between revisions of "MediaWiki:Doduco.js"
Doduco Admin (talk | contribs) |
Doduco Admin (talk | contribs) |
||
(10 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 13: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 }); }); })