From 93542448e2d8c17ebe79b34e773e4e2cf224a219 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Fri, 25 Sep 2015 15:26:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E5=AD=97=E7=AC=A6=E5=A4=9F?= =?UTF-8?q?=E4=BA=86=E5=88=A0=E9=99=A4=E9=94=AE=20=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E8=A2=AB=E5=B1=8F=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/forums/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/forums/edit.html.erb b/app/views/forums/edit.html.erb index ef1fbc12b..c212e7b9d 100644 --- a/app/views/forums/edit.html.erb +++ b/app/views/forums/edit.html.erb @@ -14,7 +14,7 @@ n += 1; } } - if(n >= 160) + if(n >= 160 && event.keyCode != 8) event.returnValue = false; } })