Added dependency of touch punch to wc-price-slider
This commit is contained in:
parent
8f3586fccb
commit
902d8bbe5a
|
@ -773,7 +773,7 @@ class WC_Query {
|
|||
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
||||
|
||||
wp_register_script( 'wc-jquery-ui-touchpunch', WC()->plugin_url() . '/assets/js/frontend/jquery.ui.touch-punch' . $suffix . '.js', array( 'jquery-ui-slider' ), WC_VERSION, true );
|
||||
wp_register_script( 'wc-price-slider', WC()->plugin_url() . '/assets/js/frontend/price-slider' . $suffix . '.js', array( 'jquery-ui-slider' ), WC_VERSION, true );
|
||||
wp_register_script( 'wc-price-slider', WC()->plugin_url() . '/assets/js/frontend/price-slider' . $suffix . '.js', array( 'jquery-ui-slider', 'wc-jquery-ui-touchpunch' ), WC_VERSION, true );
|
||||
|
||||
wp_localize_script( 'wc-price-slider', 'woocommerce_price_slider_params', array(
|
||||
'currency_symbol' => get_woocommerce_currency_symbol(),
|
||||
|
|
Loading…
Reference in New Issue