Make WordPress Core

Changeset 34527


Ignore:
Timestamp:
09/25/2015 02:20:11 AM (9 years ago)
Author:
wonderboymusic
Message:

Comments List Table: after [34179], scope the <th>s and <td>s as direct descendants of their parent row.

Fixes #33943.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/edit-comments.js

    r34517 r34527  
    660660        act = 'edit' == action ? 'edit' : 'replyto';
    661661        act = t.act = act + '-comment';
    662         colspanVal = $( 'th:visible, td:visible', c ).length;
     662        colspanVal = $( '> th:visible, > td:visible', c ).length;
    663663
    664664        // Make sure it's actually a table and there's a `colspan` value to apply.
Note: See TracChangeset for help on using the changeset viewer.