diff --git a/src/js/_enqueues/admin/inline-edit-post.js b/src/js/_enqueues/admin/inline-edit-post.js
index 65cd342c28..b433f64c6d 100644
|
a
|
b
|
window.wp = window.wp || {}; |
| 333 | 333 | |
| 334 | 334 | // Add the new edit row with an extra blank row underneath to maintain zebra striping. |
| 335 | 335 | editRow = $('#inline-edit').clone(true); |
| 336 | | $( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length ); |
| 337 | | |
| | 336 | if( $('.the-list').lenth > 0 ){ |
| | 337 | $( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length ); |
| | 338 | } |
| | 339 | |
| 338 | 340 | // Remove the ID from the copied row and let the `for` attribute reference the hidden ID. |
| 339 | 341 | $( 'td', editRow ).find('#quick-edit-legend').removeAttr('id'); |
| 340 | 342 | $( 'td', editRow ).find('p[id^="quick-edit-"]').removeAttr('id'); |