summaryrefslogtreecommitdiff
path: root/extensions/Nuke/ext.nuke.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Nuke/ext.nuke.js')
-rw-r--r--extensions/Nuke/ext.nuke.js5
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 ) );