Customizer: Only tie header button action events to the header controls.
props danielbachhuber. fixes #28046. see #27848. git-svn-id: https://develop.svn.wordpress.org/trunk@28269 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e42ec45553
commit
9259c6baa7
|
@ -309,8 +309,8 @@
|
|||
|
||||
api.HeaderControl = api.Control.extend({
|
||||
ready: function() {
|
||||
this.btnRemove = $('.actions .remove');
|
||||
this.btnNew = $('.actions .new');
|
||||
this.btnRemove = $('#customize-control-header_image .actions .remove');
|
||||
this.btnNew = $('#customize-control-header_image .actions .new');
|
||||
|
||||
_.bindAll(this, 'openMedia', 'removeImage');
|
||||
|
||||
|
|
Loading…
Reference in New Issue