WordPress.org

Make WordPress Core

Changeset 28266


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

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

props rzen, ehg.
fixes #27848.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/customize-views.js

    r28086 r28266  
    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.