Make WordPress Core

Ticket #39739: 39739.diff

File 39739.diff, 571 bytes (added by swissspidy, 7 years ago)
  • src/wp-admin/js/common.js

    diff --git src/wp-admin/js/common.js src/wp-admin/js/common.js
    index 867f111999..25bbb830e5 100644
    $document.ready( function() { 
    418418        screenMeta.init();
    419419
    420420        // This event needs to be delegated. Ticket #37973.
    421         $body.on( 'click', 'tbody .check-column :checkbox', function( event ) {
     421        $body.on( 'click', 'tbody > .check-column :checkbox', function( event ) {
    422422                // Shift click to select a range of checkboxes.
    423423                if ( 'undefined' == event.shiftKey ) { return true; }
    424424                if ( event.shiftKey ) {