support negative values in query config overrides
This commit is contained in:
parent
bfd431a0c4
commit
56504b50a9
@ -1292,7 +1292,7 @@
|
|||||||
if( value === 'null' ) return null;
|
if( value === 'null' ) return null;
|
||||||
else if( value === 'true' ) return true;
|
else if( value === 'true' ) return true;
|
||||||
else if( value === 'false' ) return false;
|
else if( value === 'false' ) return false;
|
||||||
else if( value.match( /^[\d\.]+$/ ) ) return parseFloat( value );
|
else if( value.match( /^-?[\d\.]+$/ ) ) return parseFloat( value );
|
||||||
}
|
}
|
||||||
|
|
||||||
return value;
|
return value;
|
||||||
|
Loading…
Reference in New Issue
Block a user