如果字符够了删除键 不能被屏蔽

This commit is contained in:
lizanle 2015-09-25 15:26:48 +08:00
parent 66ea9e3052
commit 93542448e2
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
n += 1; n += 1;
} }
} }
if(n >= 160) if(n >= 160 && event.keyCode != 8)
event.returnValue = false; event.returnValue = false;
} }
}) })