diff --git a/files/assets/js/comments_v.js b/files/assets/js/comments_v.js
index 654bf7404..012197a7f 100644
--- a/files/assets/js/comments_v.js
+++ b/files/assets/js/comments_v.js
@@ -191,6 +191,7 @@ function comment_edit(id){
commentForm.innerHTML = data["comment"].replace(/data-src/g, 'src').replace(/data-cfsrc/g, 'src').replace(/style="display:none;visibility:hidden;"/g, '')
document.getElementById('cancel-edit-'+id).click()
bs_trigger(commentForm);
+ document.getElementById('filename-show-reply-t2_' + id).innerHTML = '';
}
else {
if (data && data["error"]) document.getElementById('toast-post-error-text').innerText = data["error"];
@@ -250,6 +251,7 @@ function post_comment(fullname, hide){
document.getElementById('reply-form-body-'+fullname).value = ''
document.getElementById('form-preview-'+fullname).innerHTML = ''
+ document.getElementById('filename-show-reply-' + fullname).innerHTML = '';
}
else {
if (data && data["error"]) document.getElementById('toast-post-error-text').innerText = data["error"];
diff --git a/files/templates/comments.html b/files/templates/comments.html
index 15035dafa..b37f31add 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -864,7 +864,7 @@
{% if v %}
-
+
{% endif %}