From d98aacf6bc2c4a0db6e684f914bdc985aafa9da6 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 7 Jun 2023 23:04:00 +0300 Subject: [PATCH] generate markdown preview when clicking "edit" on comments --- files/assets/js/comments_v.js | 1 + 1 file changed, 1 insertion(+) diff --git a/files/assets/js/comments_v.js b/files/assets/js/comments_v.js index 561be9096..7b4cc014e 100644 --- a/files/assets/js/comments_v.js +++ b/files/assets/js/comments_v.js @@ -84,6 +84,7 @@ function toggleEdit(id){ form.classList.toggle("d-none"); actions.classList.toggle("d-none"); autoExpand(box); + markdown(box); };