Comments: Auto-resize textarea field as we type
This commit is contained in:
parent
8187a8a0dd
commit
5d6e0af605
@ -84,12 +84,14 @@ script.
|
||||
}
|
||||
$(scrollToLinkedComment);
|
||||
|
||||
|
||||
$('#comment_field').autoResize();
|
||||
|
||||
// Initialize Markdown to later convert comment as we type
|
||||
var convert = new Markdown.getSanitizingConverter();
|
||||
Markdown.Extra.init(convert);
|
||||
convert = convert.makeHtml;
|
||||
|
||||
|
||||
// Submit new comment
|
||||
$(document)
|
||||
.off('click','body .comment-action-submit')
|
||||
|
Loading…
x
Reference in New Issue
Block a user