mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 17:20:53 +02:00
Fix global form submit event (#32652)
This commit is contained in:
1 parent
f49d82309b
commit
6e507c45ed
1 file changed
+1
-1
@@ -122,6 +122,6 @@ async function linkAction(el: HTMLElement, e: Event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function initGlobalFetchAction() {
|
export function initGlobalFetchAction() {
|
||||||
addDelegatedEventListener(document, 'click', '.form-fetch-action', formFetchAction);
|
addDelegatedEventListener(document, 'submit', '.form-fetch-action', formFetchAction);
|
||||||
addDelegatedEventListener(document, 'click', '.link-action', linkAction);
|
addDelegatedEventListener(document, 'click', '.link-action', linkAction);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user