Difference between revisions of "MediaWiki:Doduco.js"

From Electrical Contacts
Jump to: navigation, search
Line 1: Line 1:
 
jQuery( function ( $ ) {
 
jQuery( function ( $ ) {
 
+
mw.loader.using('jquery.ui.accordion', function () {
 +
  jQuery(document).ready(function ($) {
 +
    $('#accordion').accordion({ collapsible: true, active: false });
 +
  });
 +
});
 
})
 
})

Revision as of 16:49, 27 February 2014

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