From 09027e51d78a578a357962ffc77f3b6f0dc1e0bf Mon Sep 17 00:00:00 2001 From: justcool393 Date: Fri, 14 Oct 2022 08:43:58 -0700 Subject: [PATCH] reply to edit --- files/assets/js/comments_v.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/assets/js/comments_v.js b/files/assets/js/comments_v.js index a830cdb79..0f358e147 100644 --- a/files/assets/js/comments_v.js +++ b/files/assets/js/comments_v.js @@ -169,7 +169,7 @@ function comment_edit(id){ form.append('file', e); } catch(e) {} - const xhr = createXhrWithFormKey("/reply", "POST", form); + const xhr = createXhrWithFormKey("/edit_comment/"+id, "POST", form); xhr[0].onload=function(){ let data try {data = JSON.parse(xhr[0].response)}