Make WordPress Core

Changeset 28267 for branches/3.9


Ignore:
Timestamp:
05/06/2014 04:14:25 AM (13 years ago)
Author:
nacin
Message:

Customizer: Avoid hiding 'Remove' buttons unrelated to custom headers.

Merges [28266] to the 3.9 branch.

props rzen, ehg.
fixes #27848.

Location:
branches/3.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

  • branches/3.9/src/wp-includes/js/customize-views.js

    r28086 r28267  
    7171
    7272                setButtons: function() {
    73                         var elements = $('.actions .remove');
     73                        var elements = $('#customize-control-header_image .actions .remove');
    7474                        if (this.model.get('choice')) {
    7575                                elements.show();
Note: See TracChangeset for help on using the changeset viewer.