Make WordPress Core

Ticket #60139: 60139.diff

File 60139.diff, 2.7 KB (added by paulkevan, 2 years ago)
  • src/js/_enqueues/admin/media.js

     
    223223
    224224                        // Clear the selection and move focus back to the trigger.
    225225                        event.clearSelection();
    226                         // Handle ClipboardJS focus bug, see https://github.com/zenorocha/clipboard.js/issues/680.
    227                         triggerElement.trigger( 'focus' );
    228226
    229227                        // Show success visual feedback.
    230228                        clearTimeout( copyAttachmentURLSuccessTimeout );
  • src/js/_enqueues/admin/post.js

     
    13031303
    13041304                // Clear the selection and move focus back to the trigger.
    13051305                event.clearSelection();
    1306                 // Handle ClipboardJS focus bug, see https://github.com/zenorocha/clipboard.js/issues/680
    1307                 triggerElement.trigger( 'focus' );
    13081306
    13091307                // Show success visual feedback.
    13101308                clearTimeout( copyAttachmentURLSuccessTimeout );
  • src/js/_enqueues/admin/site-health.js

     
    2626
    2727                // Clear the selection and move focus back to the trigger.
    2828                e.clearSelection();
    29                 // Handle ClipboardJS focus bug, see https://github.com/zenorocha/clipboard.js/issues/680
    30                 triggerElement.trigger( 'focus' );
    3129
    3230                // Show success visual feedback.
    3331                clearTimeout( successTimeout );
  • src/js/_enqueues/vendor/plupload/handlers.js

     
    380380
    381381                // Clear the selection and move focus back to the trigger.
    382382                event.clearSelection();
    383                 // Handle ClipboardJS focus bug, see https://github.com/zenorocha/clipboard.js/issues/680
    384                 triggerElement.trigger( 'focus' );
    385383                // Show success visual feedback.
    386384                clearTimeout( successTimeout );
    387385                successElement.removeClass( 'hidden' );
  • src/js/media/views/attachment/details.js

     
    4747
    4848                        // Clear the selection and move focus back to the trigger.
    4949                        event.clearSelection();
    50                         // Handle ClipboardJS focus bug, see https://github.com/zenorocha/clipboard.js/issues/680
    51                         triggerElement.trigger( 'focus' );
    5250
    5351                        // Show success visual feedback.
    5452                        clearTimeout( successTimeout );