WordPress.org

Make WordPress Core

Ticket #34350: 34350.5.diff

File 34350.5.diff, 614 bytes (added by adamsilverstein, 6 years ago)
  • src/wp-includes/js/media-views.js

     
    37543754                        AttachmentView: wp.media.view.Attachment.Library
    37553755                });
    37563756
    3757                 this.listenTo( this.controller, 'toggle:upload:attachment', _.bind( this.toggleUploader, this ) );
     3757                this.controller.on( 'toggle:upload:attachment', _.bind( this.toggleUploader, this ) );
    37583758                this.controller.on( 'edit:selection', this.editSelection );
    37593759                this.createToolbar();
    37603760                if ( this.options.sidebar ) {