Make WordPress Core


Ignore:
Timestamp:
07/17/2016 09:13:35 PM (10 years ago)
Author:
westonruter
Message:

Twenty Thirteen: Fix selective refresh of Masonry-laid out widgets by deferring initialization until DOM ready.

This ensures that the wp.customize.selectiveRefresh object will be available when in the Customizer preview.

Fixes #37390.
Props westonruter, celloexpressions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentythirteen/functions.php

    r38026 r38083  
    174174
    175175    // Loads JavaScript file with functionality specific to Twenty Thirteen.
    176     wp_enqueue_script( 'twentythirteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20150330', true );
     176    wp_enqueue_script( 'twentythirteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20160717', true );
    177177
    178178    // Add Source Sans Pro and Bitter fonts, used in the main stylesheet.
Note: See TracChangeset for help on using the changeset viewer.