WordPress.org

Make WordPress Core

Changeset 21379


Ignore:
Timestamp:
08/01/2012 01:10:13 AM (8 years ago)
Author:
koopersmith
Message:

Make the browser property in wp.Uploader optional. fixes #21437.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/plupload/wp-plupload.dev.js

    r21014 r21379  
    114114        }( this.dropzone, this.supports.dragdrop ));
    115115
    116         this.browser.on( 'mouseenter', this.refresh );
     116        if ( this.browser )
     117            this.browser.on( 'mouseenter', this.refresh );
    117118
    118119        this.uploader.bind( 'UploadProgress', this.progress );
Note: See TracChangeset for help on using the changeset viewer.