Fixed coding standards in assets/js/frontend/price-slider.js
This commit is contained in:
parent
743718838a
commit
77b2d508b2
|
@ -12,10 +12,9 @@ jQuery( function( $ ) {
|
||||||
|
|
||||||
// Price slider uses jquery ui
|
// Price slider uses jquery ui
|
||||||
var min_price = $( '.price_slider_amount #min_price' ).data( 'min' ),
|
var min_price = $( '.price_slider_amount #min_price' ).data( 'min' ),
|
||||||
max_price = $( '.price_slider_amount #max_price' ).data( 'max' );
|
max_price = $( '.price_slider_amount #max_price' ).data( 'max' ),
|
||||||
|
current_min_price = parseInt( min_price, 10 ),
|
||||||
var current_min_price = parseInt( min_price, 10 );
|
current_max_price = parseInt( max_price, 10 );
|
||||||
var current_max_price = parseInt( max_price, 10 );
|
|
||||||
|
|
||||||
if ( woocommerce_price_slider_params.min_price ) {
|
if ( woocommerce_price_slider_params.min_price ) {
|
||||||
current_min_price = parseInt( woocommerce_price_slider_params.min_price, 10 );
|
current_min_price = parseInt( woocommerce_price_slider_params.min_price, 10 );
|
||||||
|
|
Loading…
Reference in New Issue