summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki.special/mediawiki.special.undelete.js
blob: 2a153e8864106731cf8d1ff911f655b0e75b1bd8 (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();
	} );
} );