Skip to content

Commit

Permalink
Remove comment quoting in replies.
Browse files Browse the repository at this point in the history
Issue #8: Initial UI feedback on TeamComments extension.
  • Loading branch information
Frank Duncan committed Oct 4, 2019
1 parent 361631a commit a0bb2b4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions extensions/TeamComments/resources/js/TeamComment.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,6 @@
} ).appendTo( '#replyto' );
$( '#replyto' ).append( ') <br />' );

var quotedText = "<blockquote>\n";
quotedText += " '''" + replyon + ", " + poster + " said:'''\n\n";
for (quotedLine of $("#teamcomment-" + parentId).find("textarea").val().split("\n")) {
quotedText += " " + quotedLine + "\n";
}
quotedText += "\n</blockquote>";
$("#teamcomment").val(quotedText);

document.teamcommentForm.teamcommentParentId.value = parentId;
},

Expand Down

0 comments on commit a0bb2b4

Please sign in to comment.