WordPress.org

Make WordPress Core

Ticket #40578: 40578.2.diff

File 40578.2.diff, 1.1 KB (added by adamsilverstein, 2 years ago)
  • src/wp-includes/js/media-views.js

    diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js
    index 75cf452f50..46f6e30122 100644
    a b Attachment = View.extend({ 
    26972697        },
    26982698
    26992699        events: {
    2700                 'click .js--select-attachment':   'toggleSelectionHandler',
     2700                'click':                          'toggleSelectionHandler',
    27012701                'change [data-setting]':          'updateSetting',
    27022702                'change [data-setting] input':    'updateSetting',
    27032703                'change [data-setting] select':   'updateSetting',
  • src/wp-includes/js/media/views/attachment.js

    diff --git a/src/wp-includes/js/media/views/attachment.js b/src/wp-includes/js/media/views/attachment.js
    index 17266a5511..f618555869 100644
    a b Attachment = View.extend({ 
    2626        },
    2727
    2828        events: {
    29                 'click .js--select-attachment':   'toggleSelectionHandler',
     29                'click':                          'toggleSelectionHandler',
    3030                'change [data-setting]':          'updateSetting',
    3131                'change [data-setting] input':    'updateSetting',
    3232                'change [data-setting] select':   'updateSetting',