Set a nice minimum height when editing a comment

This commit is contained in:
Sybren A. Stüvel 2016-10-20 17:02:07 +02:00
parent 8b64f9140b
commit fceac01505

View File

@ -146,7 +146,7 @@ script.
comment_content
.addClass('editing')
.find('textarea')
.height(height + 30)
.height(Math.max(150, height + 30))
.focus()
.trigger('keyup');
comment_content.siblings('.comment-content-preview').show();