Set a nice minimum height when editing a comment
This commit is contained in:
@@ -146,7 +146,7 @@ script.
|
|||||||
comment_content
|
comment_content
|
||||||
.addClass('editing')
|
.addClass('editing')
|
||||||
.find('textarea')
|
.find('textarea')
|
||||||
.height(height + 30)
|
.height(Math.max(150, height + 30))
|
||||||
.focus()
|
.focus()
|
||||||
.trigger('keyup');
|
.trigger('keyup');
|
||||||
comment_content.siblings('.comment-content-preview').show();
|
comment_content.siblings('.comment-content-preview').show();
|
||||||
|
Reference in New Issue
Block a user