diff --git a/opentech/static_src/src/javascript/apply/edit-comment.js b/opentech/static_src/src/javascript/apply/edit-comment.js
index a99927a4d6618470bdd740a5d8ff58c4f2d6d4d6..938a388b7a9a85b1a88233d38071fc8c990ba3d9 100644
--- a/opentech/static_src/src/javascript/apply/edit-comment.js
+++ b/opentech/static_src/src/javascript/apply/edit-comment.js
@@ -113,11 +113,11 @@
         $(el).closest(feedContent).find(lastEdited).html(`${parsedDate} ${time}`);
     };
 
-    const updateComment = (el, id, newComment, editUrl, newCommentMD) => {
+    const updateComment = (el, id, comment, editUrl, commentMarkdown) => {
+        $(el).html(comment);
         $(el).attr('data-id', id);
-        $(el).html(newComment);
-        $(el).attr('data-comment', newCommentMD);
         $(el).attr('data-edit-url', editUrl);
+        $(el).attr('data-comment', commentMarkdown);
     };
 
     const closeAllEditors = () => {