From 2717346e9d1100f37027ef519b3c717acfc0c5d0 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 13 Mar 2015 11:26:25 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=B8=EB=AF=B8=EC=BD=9C=EB=A1=A0=20?= =?UTF-8?q?=EB=B9=A0=EC=A7=84=20=EA=B2=83=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/common.js b/js/common.js index 1707d757a..6b5349463 100644 --- a/js/common.js +++ b/js/common.js @@ -577,8 +577,8 @@ $(function(){ }); $("textarea#wr_content[maxlength]").live("keyup change", function() { - var str = $(this).val() - var mx = parseInt($(this).attr("maxlength")) + var str = $(this).val(); + var mx = parseInt($(this).attr("maxlength")); if (str.length > mx) { $(this).val(str.substr(0, mx)); return false;