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

Commit

Permalink
Merge pull request #14 from xwp/bugfix/customize-posts-compat
Browse files Browse the repository at this point in the history
Replace customize-snapshots JS dependency from customize-widgets to customize-controls
  • Loading branch information
westonruter committed Apr 26, 2016
2 parents d72775f + 411673e commit 62e15f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function init() {
public function register_scripts( \WP_Scripts $wp_scripts ) {
$min = ( SCRIPT_DEBUG ? '' : '.min' );
$src = $this->dir_url . 'js/customize-snapshots' . $min . '.js';
$deps = array( 'jquery', 'jquery-ui-dialog', 'wp-util', 'customize-widgets' );
$deps = array( 'jquery', 'jquery-ui-dialog', 'wp-util', 'customize-controls' );
$wp_scripts->add( $this->slug, $src, $deps );
}

Expand Down

0 comments on commit 62e15f9

Please sign in to comment.