Make WordPress Core

Changeset 39417


Ignore:
Timestamp:
12/02/2016 05:56:30 AM (8 years ago)
Author:
davidakennedy
Message:

Twenty Seventeen: Hide front section panels on page load of Customizer.

Props sstoqnov.

Fixes #38951.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/assets/js/customize-preview.js

    r39413 r39417  
    99    // Collect information from customize-controls.js about which panels are opening.
    1010    wp.customize.bind( 'preview-ready', function() {
     11       
     12        // Initially hide the theme option placeholders on load
     13        $( '.panel-placeholder' ).hide();
     14       
    1115        wp.customize.preview.bind( 'section-highlight', function( data ) {
    1216
Note: See TracChangeset for help on using the changeset viewer.