diff --git a/src/js/_enqueues/admin/common.js b/src/js/_enqueues/admin/common.js
index f85a9378ca..989f738e58 100644
|
a
|
b
|
$( function() {
|
| 1154 | 1154 | lastClicked = this; |
| 1155 | 1155 | |
| 1156 | 1156 | // Toggle the "Select all" checkboxes depending if the other ones are all checked or not. |
| 1157 | | var unchecked = $(this).closest('tbody').find(':checkbox').filter(':visible:enabled').not(':checked'); |
| | 1157 | var unchecked = $(this).closest('tbody').find('tr.iedit').find(':checkbox').filter(':visible:enabled').not(':checked'); |
| 1158 | 1158 | |
| 1159 | 1159 | /** |
| 1160 | 1160 | * Determines if all checkboxes are checked. |
diff --git a/src/js/_enqueues/admin/inline-edit-post.js b/src/js/_enqueues/admin/inline-edit-post.js
index db06072c4a..315da6b7b6 100644
|
a
|
b
|
window.wp = window.wp || {};
|
| 228 | 228 | $prev = $this.parent().prev().children( '.ntdelbutton' ), |
| 229 | 229 | $next = $this.parent().next().children( '.ntdelbutton' ); |
| 230 | 230 | |
| | 231 | $( 'input#cb-select-all-1, input#cb-select-all-2' ).prop( 'checked', false ); |
| 231 | 232 | $( 'table.widefat input[value="' + id + '"]' ).prop( 'checked', false ); |
| 232 | 233 | $( '#_' + id ).parent().remove(); |
| 233 | 234 | wp.a11y.speak( wp.i18n.__( 'Item removed.' ), 'assertive' ); |