diff --git a/opentech/static_src/src/javascript/apply/edit-comment.js b/opentech/static_src/src/javascript/apply/edit-comment.js
index 54012df293ba976a2469abca7542e7e2b95776e0..d38492f25a78607cba738ea2bdf3bf3f0d8733e9 100644
--- a/opentech/static_src/src/javascript/apply/edit-comment.js
+++ b/opentech/static_src/src/javascript/apply/edit-comment.js
@@ -57,6 +57,8 @@
         const commentContainer = $(this).closest(editBlock).siblings(comment);
         const id = $(commentContainer).attr('data-id');
         const editedComment = $(this).closest(pageDown).find('.wmd-preview').html();
+        const commentMD = $(this).closest(editBlock).find('textarea').val();
+        $(commentContainer).attr('data-comment', commentMD);
 
         // TODO - get correct URL
         const url = `${window.location.origin}/apply/api/comments/${id}/edit/`;
@@ -105,7 +107,8 @@
     };
 
     const updateComment = (el, id, newComment) => {
-        $(el).html(newComment).data('comment', newComment).data('id', id);
+        $(el).attr('data-id', id);
+        $(el).html(newComment);
     };
 
     const closeAllEditors = () => {