Changes

MediaWiki:Common.js

85 bytes added, 21:41, 20 January 2017
no edit summary
$(function() {
$('.playground').append('<a onclickclass="$(\'.mwtoggle-collapsible-bracket\').trigger(\'click\');states">Show/Hide All</a>');
});
 
$(".toggle-states").on('click','a', function(){
$(this).toggleClass('checked').siblings().removeClass('checked');
})