fix possible invalid value

This commit is contained in:
yuanchuan 2017-06-04 22:46:01 +08:00
parent 20ccc62cf0
commit 4d0632d788
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ function read_value(it) {
}
if (text.value.length) value.push(text);
if (value.length) {
if (value.length && value[0].value) {
value[0].value = value[0].value.trimLeft();
}