Enqueue placeholder separately. #1972.

This commit is contained in:
Mike Jolley 2012-12-12 10:33:16 +00:00
parent a0a9e2a699
commit 253562e980
1 changed files with 2 additions and 1 deletions

View File

@ -1075,7 +1075,8 @@ class Woocommerce {
}
// Global frontend scripts
wp_enqueue_script( 'woocommerce', $frontend_script_path . 'woocommerce' . $suffix . '.js', array( 'jquery', 'jquery-blockui', 'jquery-placeholder' ), $this->version, true );
wp_enqueue_script( 'woocommerce', $frontend_script_path . 'woocommerce' . $suffix . '.js', array( 'jquery', 'jquery-blockui' ), $this->version, true );
wp_enqueue_script( 'jquery-placeholder' );
// Variables for JS scripts
$woocommerce_params = array(