Difference between revisions of "MediaWiki:Common.js"
From The Grove - Academia de Idiomas
Line 10: | Line 10: | ||
.slideToggle(200) | .slideToggle(200) | ||
}); | }); | ||
+ | })(); | ||
+ | |||
+ | |||
+ | (function() { | ||
+ | |||
+ | $( "ol.tier2" ).attr( "start", "11" ); | ||
+ | |||
})(); | })(); |
Revision as of 18:49, 7 April 2014
/* Any JavaScript here will be loaded for all users on every page load. */ (function() { $('.acc div').addClass('hide'); $('div.acc').on('click', 'h2', function() { $(this) .next() .slideToggle(200) }); })(); (function() { $( "ol.tier2" ).attr( "start", "11" ); })();