Commit a5d3c672 by doszhang

dos

parent 1455b247
...@@ -622,7 +622,7 @@ function checkIt(bind, maxNum) { ...@@ -622,7 +622,7 @@ function checkIt(bind, maxNum) {
} }
if (len >= maxNum) { if (len >= maxNum) {
if (i != v.length - 1) { if (i != v.length - 1) {
$("#" + bind).val(v.substr(0, i)) $("#" + bind).val(v.substr(0, i + 1))
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment