diff --git a/frontend/src/ts/modals/quote-submit.ts b/frontend/src/ts/modals/quote-submit.ts index e7877779e..8740c9401 100644 --- a/frontend/src/ts/modals/quote-submit.ts +++ b/frontend/src/ts/modals/quote-submit.ts @@ -52,7 +52,7 @@ export async function show(showOptions: ShowOptions): Promise { void modal.show({ ...showOptions, focusFirstInput: true, - beforeAnimation: async () => { + afterAnimation: async () => { CaptchaController.render( document.querySelector("#quoteSubmitModal .g-recaptcha") as HTMLElement, "submitQuote"