Changeset 22665
- Timestamp:
- 11/19/2012 06:34:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/media-upload.js
r22569 r22665 436 436 init: function() { 437 437 $('#wpbody').on('click', '.insert-media', function( event ) { 438 var editor = $(this).data('editor'), 438 var $this = $(this), 439 editor = $this.data('editor'), 439 440 workflow; 440 441 441 442 event.preventDefault(); 443 444 // Remove focus from the `.insert-media` button. 445 // Prevents Opera from showing the outline of the button 446 // above the modal. 447 // 448 // See: http://core.trac.wordpress.org/ticket/22445 449 $this.blur(); 442 450 443 451 if ( ! editor )
Note: See TracChangeset
for help on using the changeset viewer.