WordPress.org

Make WordPress Core

Changeset 31916


Ignore:
Timestamp:
03/28/2015 08:46:37 PM (6 years ago)
Author:
ocean90
Message:

Customizer: Fix selector for container which includes the controls. Broken since [30102].

see #31794, #31014.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-controls.js

    r31914 r31916  
    689689                section = panel.container.closest( '.accordion-section' ),
    690690                overlay = section.closest( '.wp-full-overlay' ),
    691                 container = section.closest( '.accordion-container' ),
     691                container = section.closest( '.wp-full-overlay-sidebar-content' ),
    692692                siblings = container.find( '.open' ),
    693693                topPanel = overlay.find( '#customize-theme-controls > ul > .accordion-section > .accordion-section-title' ).add( '#customize-info > .accordion-section-title' ),
     
    10151015                section = panel.container.closest( '.accordion-section' ),
    10161016                overlay = section.closest( '.wp-full-overlay' ),
    1017                 container = section.closest( '.accordion-container' ),
     1017                container = section.closest( '.wp-full-overlay-sidebar-content' ),
    10181018                siblings = container.find( '.open' ),
    10191019                topPanel = overlay.find( '#customize-theme-controls > ul > .accordion-section > .accordion-section-title' ).add( '#customize-info > .accordion-section-title' ),
Note: See TracChangeset for help on using the changeset viewer.