그누보드 5.0.32 수정내역 적용

This commit is contained in:
chicpro
2015-04-09 09:16:36 +09:00
parent a6a2183c7d
commit 9fd14cfc17
7 changed files with 30 additions and 16 deletions

View File

@ -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;