updated theme Twenty Nineteen
version 2.7
This commit is contained in:
@ -125,7 +125,7 @@ function twentynineteen_customize_partial_blogdescription() {
|
||||
* Bind JS handlers to instantly live-preview changes.
|
||||
*/
|
||||
function twentynineteen_customize_preview_js() {
|
||||
wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20181214', true );
|
||||
wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20181214', array( 'in_footer' => true ) );
|
||||
}
|
||||
add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' );
|
||||
|
||||
@ -133,7 +133,7 @@ add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' );
|
||||
* Load dynamic logic for the customizer controls area.
|
||||
*/
|
||||
function twentynineteen_panels_js() {
|
||||
wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '20181214', true );
|
||||
wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '20181214', array( 'in_footer' => true ) );
|
||||
}
|
||||
add_action( 'customize_controls_enqueue_scripts', 'twentynineteen_panels_js' );
|
||||
|
||||
|
Reference in New Issue
Block a user