diff --git a/includes/class-wc-query.php b/includes/class-wc-query.php index eaf532dca95..90d030b544e 100644 --- a/includes/class-wc-query.php +++ b/includes/class-wc-query.php @@ -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(),