mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-06 22:33:14 +00:00
Fix the PR review form bug during frontend refactor (#17332)
This commit is contained in:
parent
1a7473ff45
commit
7333104e89
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export function initRepoDiffFileViewToggle() {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function initRepoDiffConversationForm() {
|
export function initRepoDiffConversationForm() {
|
||||||
$('.conversation-holder form').on('submit', async (e) => {
|
$(document).on('submit', '.conversation-holder form', async (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const form = $(e.target);
|
const form = $(e.target);
|
||||||
const newConversationHolder = $(await $.post(form.attr('action'), form.serialize()));
|
const newConversationHolder = $(await $.post(form.attr('action'), form.serialize()));
|
||||||
|
|
Loading…
Reference in a new issue