Fixed coding standards in assets/js/frontend/price-slider.js

This commit is contained in:
Claudio Sanches 2015-06-29 17:09:34 -03:00
parent 743718838a
commit 77b2d508b2
1 changed files with 3 additions and 4 deletions

View File

@ -12,10 +12,9 @@ jQuery( function( $ ) {
// Price slider uses jquery ui
var min_price = $( '.price_slider_amount #min_price' ).data( 'min' ),
max_price = $( '.price_slider_amount #max_price' ).data( 'max' );
var current_min_price = parseInt( min_price, 10 );
var current_max_price = parseInt( max_price, 10 );
max_price = $( '.price_slider_amount #max_price' ).data( 'max' ),
current_min_price = parseInt( min_price, 10 ),
current_max_price = parseInt( max_price, 10 );
if ( woocommerce_price_slider_params.min_price ) {
current_min_price = parseInt( woocommerce_price_slider_params.min_price, 10 );