forked from mirror/_s
parent
251896a973
commit
d1f1f30983
|
@ -50,6 +50,6 @@ function _s_customize_partial_blogdescription() {
|
||||||
* Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
|
* Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
|
||||||
*/
|
*/
|
||||||
function _s_customize_preview_js() {
|
function _s_customize_preview_js() {
|
||||||
wp_enqueue_script( '_s_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true );
|
wp_enqueue_script( '_s-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true );
|
||||||
}
|
}
|
||||||
add_action( 'customize_preview_init', '_s_customize_preview_js' );
|
add_action( 'customize_preview_init', '_s_customize_preview_js' );
|
||||||
|
|
Reference in New Issue