- Timestamp:
- 09/06/2023 09:21:17 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/customizer.php
r56012 r56526 246 246 */ 247 247 function twentyseventeen_customize_preview_js() { 248 wp_enqueue_script( 'twentyseventeen-customize-preview', get_theme_file_uri( '/assets/js/customize-preview.js' ), array( 'customize-preview' ), '20161002', true);248 wp_enqueue_script( 'twentyseventeen-customize-preview', get_theme_file_uri( '/assets/js/customize-preview.js' ), array( 'customize-preview' ), '20161002', array( 'in_footer' => true ) ); 249 249 } 250 250 add_action( 'customize_preview_init', 'twentyseventeen_customize_preview_js' ); … … 254 254 */ 255 255 function twentyseventeen_panels_js() { 256 wp_enqueue_script( 'twentyseventeen-customize-controls', get_theme_file_uri( '/assets/js/customize-controls.js' ), array(), '20161020', true);256 wp_enqueue_script( 'twentyseventeen-customize-controls', get_theme_file_uri( '/assets/js/customize-controls.js' ), array(), '20161020', array( 'in_footer' => true ) ); 257 257 } 258 258 add_action( 'customize_controls_enqueue_scripts', 'twentyseventeen_panels_js' );
Note: See TracChangeset
for help on using the changeset viewer.