diff options
Diffstat (limited to 'extensions/Nuke/ext.nuke.js')
-rw-r--r-- | extensions/Nuke/ext.nuke.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/Nuke/ext.nuke.js b/extensions/Nuke/ext.nuke.js index 42f463f7..ff5aecfb 100644 --- a/extensions/Nuke/ext.nuke.js +++ b/extensions/Nuke/ext.nuke.js @@ -21,5 +21,10 @@ $( '#togglenone' ).click( function () { selectPages( false ); } ); + $( '#toggleinvert' ).click( function () { + $( 'input[type="checkbox"]' ).each( function () { + $( this ).prop( 'checked', !$( this ).is( ':checked' ) ); + } ); + } ); } ); }( jQuery ) ); |