Difference between revisions of "MediaWiki:Doduko.js"
From Electrical Contacts
Doduco Admin (talk | contribs) |
Doduco Admin (talk | contribs) |
||
Line 3: | Line 3: | ||
$('.accordion').accordion({ collapsible: true, active: false, header: ".accordion-header", height: "auto" }); | $('.accordion').accordion({ collapsible: true, active: false, header: ".accordion-header", height: "auto" }); | ||
}); | }); | ||
− | $('.accordion-header').css({border:0,background: | + | $('.accordion-header').css({border:0,background:transparent}) |
}); | }); |
Revision as of 18:12, 3 March 2014
mw.loader.using('jquery.ui.accordion', function () { jQuery(document).ready(function ($) { $('.accordion').accordion({ collapsible: true, active: false, header: ".accordion-header", height: "auto" }); }); $('.accordion-header').css({border:0,background:transparent}) });