Fix global form submit event (#32652)

pull/32650/head^2
wxiaoguang 2 months ago committed by GitHub
parent f49d82309b
commit 6e507c45ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -122,6 +122,6 @@ async function linkAction(el: HTMLElement, e: Event) {
}
export function initGlobalFetchAction() {
addDelegatedEventListener(document, 'click', '.form-fetch-action', formFetchAction);
addDelegatedEventListener(document, 'submit', '.form-fetch-action', formFetchAction);
addDelegatedEventListener(document, 'click', '.link-action', linkAction);
}

Loading…
Cancel
Save