Make WordPress Core

Ticket #38951: 38951.1.diff

File 38951.1.diff, 683 bytes (added by sstoqnov, 8 years ago)

hide twentyseventeen theme option placeholders on load

  • src/wp-content/themes/twentyseventeen/assets/js/customize-preview.js

     
    88
    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
    1317                        // Only on the front page.