summaryrefslogtreecommitdiff
path: root/resources/mediawiki.special/mediawiki.special.undelete.js
blob: 0dea3ef9f984c5294fd57f9d69286e2783362114 (plain)
1
2
3
4
5
6
7
8
9
10
11
/**
 * JavaScript for Special:Undelete
 */
jQuery( function ( $ ) {
	$( '#mw-undelete-invert' ).click( function ( e ) {
		$( '#undelete input[type="checkbox"]' ).prop( 'checked', function ( i, val ) {
			return !val;
		} );
		e.preventDefault();
	} );
} );