Fxing step return "NaN" in quantity.
This commit is contained in:
parent
510cddad8b
commit
998fa3b8d0
|
@ -32,7 +32,7 @@ jQuery(document).ready(function($) {
|
|||
if ( ! currentVal || currentVal == "" || currentVal == "NaN" ) currentVal = 0;
|
||||
if ( max == "" || max == "NaN" ) max = '';
|
||||
if ( min == "" || min == "NaN" ) min = 0;
|
||||
if ( step == 'any' || step == "" || parseFloat( step ) == "NaN" ) step = 1;
|
||||
if ( step == 'any' || step == "" || step == undefined || parseFloat( step ) == "NaN" ) step = 1;
|
||||
|
||||
// Change the value
|
||||
if ( $(this).is('.plus') ) {
|
||||
|
|
Loading…
Reference in New Issue