Skip to content

Commit cfdd449

Browse files
committed
fix
1 parent f49d823 commit cfdd449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/common-fetch-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ async function linkAction(el: HTMLElement, e: Event) {
122122
}
123123

124124
export function initGlobalFetchAction() {
125-
addDelegatedEventListener(document, 'click', '.form-fetch-action', formFetchAction);
125+
addDelegatedEventListener(document, 'submit', '.form-fetch-action', formFetchAction);
126126
addDelegatedEventListener(document, 'click', '.link-action', linkAction);
127127
}

0 commit comments

Comments
 (0)