Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #199 from xwp/bugfix/select2-as-dependency
Browse files Browse the repository at this point in the history
Include Select2 As a Dependency for Script

Resolves issue introduced in #196
  • Loading branch information
westonruter authored Jul 22, 2016
2 parents 273addc + ac29eb8 commit 7f11920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/class-customize-posts-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function register_scripts( WP_Scripts $wp_scripts ) {

$handle = 'customize-posts-panel';
$src = plugins_url( 'js/customize-posts-panel' . $suffix, dirname( __FILE__ ) );
$deps = array( 'customize-controls' );
$deps = array( 'select2', 'customize-controls' );
$in_footer = 1;
$wp_scripts->add( $handle, $src, $deps, $this->version, $in_footer );

Expand Down

0 comments on commit 7f11920

Please # to comment.