Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/assets/javascripts/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $(() => {

const formTemplate = `<form action="/comments/${commentId}/edit" method="POST" class="comment-edit-form" data-remote="true">
<label for="comment-content" class="form-element">Comment body:</label>
<textarea id="comment-content" rows="4" class="form-element is-small" data-character-count=".js-character-count-comment-body" name="comment[content]">${content}</textarea>
<textarea id="comment-content" rows="6" class="form-element is-small" data-character-count=".js-character-count-comment-body" name="comment[content]">${content}</textarea>
<input type="submit" class="button is-muted is-filled" value="Update comment" />
<input type="button" name="js-discard-edit" data-comment-id="${commentId}" value="Discard Edit" class="button is-danger is-outlined js-discard-edit" />
<span class="has-float-right has-font-size-caption js-character-count-comment-body"
Expand Down