Skip to content

Commit

Permalink
properly enqueue customizer. fixes #158. Props @fallen-rve
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrickaby committed Feb 22, 2016
1 parent ea1cc83 commit 45d2a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function _s_customize_register( $wp_customize ) {
* Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
*/
function _s_customize_preview_js() {
wp_enqueue_script( '_s_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true );
wp_enqueue_script( '_s_customizer', get_template_directory_uri() . '/assets/js/customizer.js', array( 'customize-preview' ), '20130508', true );
}
add_action( 'customize_preview_init', '_s_customize_preview_js' );

Expand Down

0 comments on commit 45d2a6f

Please sign in to comment.