Simplify selectors in [30374].
props wonderboymusic, adamsilverstein. see #29326. git-svn-id: https://develop.svn.wordpress.org/trunk@30461 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bf014b7e30
commit
e1d16e8080
|
@ -3018,7 +3018,7 @@
|
||||||
this.content.set( view );
|
this.content.set( view );
|
||||||
|
|
||||||
// Trigger the controller to set focus
|
// Trigger the controller to set focus
|
||||||
view.controller.trigger( 'edit:selection', this );
|
this.trigger( 'edit:selection', this );
|
||||||
},
|
},
|
||||||
|
|
||||||
editImageContent: function() {
|
editImageContent: function() {
|
||||||
|
@ -6266,7 +6266,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
editSelection: function( modal ) {
|
editSelection: function( modal ) {
|
||||||
modal.$el.find( '.media-button-backToLibrary' ).focus();
|
modal.$( '.media-button-backToLibrary' ).focus();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue