summaryrefslogtreecommitdiffstats
path: root/wp-admin/js/forms.js
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/js/forms.js')
-rw-r--r--wp-admin/js/forms.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/js/forms.js b/wp-admin/js/forms.js
index 5d6c35d..efd56a7 100644
--- a/wp-admin/js/forms.js
+++ b/wp-admin/js/forms.js
@@ -1,5 +1,5 @@
function checkAll(jQ) { // use attr( checked, fn )
- jQuery(jQ).find( 'tbody :checkbox' ).attr( 'checked', function() {
+ jQuery(jQ).find( 'tbody:visible :checkbox' ).attr( 'checked', function() {
return jQuery(this).attr( 'checked' ) ? '' : 'checked';
} );
}
@@ -23,4 +23,4 @@ jQuery( function($) {
$( 'thead :checkbox' ).click( function() {
checkAll( $(this).parents( 'form:first' ) );
} );
-} ); \ No newline at end of file
+} );