WordPress.org

Make WordPress Core

Ticket #40056: 40056.diff

File 40056.diff, 582 bytes (added by afercia, 5 years ago)
  • src/wp-admin/js/common.js

     
    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 > tr > .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 ) {