js中edit报错

This commit is contained in:
guange 2015-10-13 21:37:41 +08:00
parent f2dd1c9467
commit bdecea83ca
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function init_editor(params){
if(/^\s*<\w*\s*\w*\=\"\w*\"\s*\w*\=\"\w*\:\s*\#\d*\;\s*\w*\-\w*\:\s*\w*\;\"\>[\u4e00-\u9fa5]*<\/\w*\>\s*$/.test(this.edit.html())){
params.submit_btn.hide();
this.resize("95%", null);
}else if(edit.html().val().trim() != ""){
}else if(this.edit.html().trim() != ""){
params.submit_btn.show();
}