Commit 029d9509 by doszhang

dos

parent 39ec53af
...@@ -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) {
$("#inp_name").val(v.substr(0, count)) $("#inp_name").val(v.substr(0, maxNum))
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