summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web_src/js/features/repo-diff.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/repo-diff.js b/web_src/js/features/repo-diff.js
index 4d6a1a011d..52b68a7d4f 100644
--- a/web_src/js/features/repo-diff.js
+++ b/web_src/js/features/repo-diff.js
@@ -21,7 +21,7 @@ export function initRepoDiffFileViewToggle() {
}
export function initRepoDiffConversationForm() {
- $('.conversation-holder form').on('submit', async (e) => {
+ $(document).on('submit', '.conversation-holder form', async (e) => {
e.preventDefault();
const form = $(e.target);
const newConversationHolder = $(await $.post(form.attr('action'), form.serialize()));