Difference between revisions of "MediaWiki:Doduko.js"

From Electrical Contacts
Jump to: navigation, search
(Created page with "mw.loader.using('jquery.ui.accordion', function () { jQuery(document).ready(function ($) { $('#accordion').accordion({ collapsible: true, active: false }); }); });")
 
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, active: false });
+
     $('.accordion').accordion({ collapsible: true, active: false });
 
   });
 
   });
 
});
 
});

Revision as of 16:51, 27 February 2014

mw.loader.using('jquery.ui.accordion', function () {
  jQuery(document).ready(function ($) {
    $('.accordion').accordion({ collapsible: true, active: false });
  });
});