Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@8492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2008-07-29 22:16:39 +00:00
parent 30d7084f60
commit fec30ab9ac
2 changed files with 2 additions and 2 deletions

View File

@@ -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';
} );
}