Comments List Table: after [34179], scope the <th>
s and <td>
s as direct descendants of their parent row.
Fixes #33943. git-svn-id: https://develop.svn.wordpress.org/trunk@34527 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
53c3cd897a
commit
641150a87a
@ -659,7 +659,7 @@ commentReply = {
|
||||
action = action || 'replyto';
|
||||
act = 'edit' == action ? 'edit' : 'replyto';
|
||||
act = t.act = act + '-comment';
|
||||
colspanVal = $( 'th:visible, td:visible', c ).length;
|
||||
colspanVal = $( '> th:visible, > td:visible', c ).length;
|
||||
|
||||
// Make sure it's actually a table and there's a `colspan` value to apply.
|
||||
if ( editRow.hasClass( 'inline-edit-row' ) && 0 !== colspanVal ) {
|
||||
|
Loading…
Reference in New Issue
Block a user