This commit is contained in:
cxt 2015-09-28 14:15:35 +08:00
commit ea18098a9d
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
function edit_desc(){ function edit_desc(){
if(<%=@forum.creator.id == User.current.id%>) { if(<%=@forum.creator.id == User.current.id%>) {
desc = $("#forum_desc_span").html(); desc = $("#forum_desc_span").html();
$("#forum_desc_span").html("<textarea id='forum_desc_input' onblur='change_forum_desc();' class='homepageSignatureTextarea'>" + desc + "</textarea>"); $("#forum_desc_span").html("<textarea id='forum_desc_input' onblur='change_forum_desc();' style='width: 200px;height: 80px; max-width: 207px; max-height: 80px; border: 1px solid #d9d9d9;outline: none;margin: 0px 0px 12px 0px;'>" + desc + "</textarea>");
$("#forum_desc_input").focus(); $("#forum_desc_input").focus();
} }
} }