Open main menu
Changes
MediaWiki:Common.js
61 bytes removed
,
21:47, 20 January 2017
no edit summary
$(function() {
$('.playground').append('<span class="toggle-states"><a
onclick="$('.mw-collapsible-content').toggleClass('checked');"
>Show/Hide All</a></span>');
});
$(".toggle-states").on('click','a', function(){
$(this).toggleClass('checked').siblings().removeClass('checked');
})
← Older edit
Newer edit →
Dsevastian
Administrator
110
edits