fix form2js

pull/144/head
Henrique Dias 2016-07-18 20:49:56 +01:00
parent 9d3ea32289
commit e6e1a6c7d9
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -231,8 +231,8 @@
} }
function convertValue(value) { function convertValue(value) {
if value == "true" return true; if (value == "true") return true;
if value == "false" return false; if (value == "false") return false;
if (!isNaN(value)) return parseInt(value); if (!isNaN(value)) return parseInt(value);
return value; return value;
} }