Changeset 27414
- Timestamp:
- 03/05/2014 06:31:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r27411 r27414 6148 6148 this.listenTo( this.controller, 'close', this.close ); 6149 6149 6150 // used in AttachmentDisplay.prototype.updateLinkTo6151 this.options.attachment = this.model.attachment;6152 6150 media.view.Settings.AttachmentDisplay.prototype.initialize.apply( this, arguments ); 6153 6151 }, … … 6168 6166 this.mejs.pause(); 6169 6167 this.remove(); 6170 delete this.mejs;6171 delete this.mejsInstance;6172 6168 }, 6173 6169 … … 6188 6184 setTimeout( function() { self.resetFocus(); }, 10 ); 6189 6185 6190 this.mejsInstance =new MediaElementPlayer( this.$('audio').get(0), settings );6186 new MediaElementPlayer( this.$('audio').get(0), settings ); 6191 6187 6192 6188 return this;
Note: See TracChangeset
for help on using the changeset viewer.