mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 18:53:26 +08:00
chore: use after animation to avoid animation issues
This commit is contained in:
parent
33229ce057
commit
e38f64e019
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export async function show(showOptions: ShowOptions): Promise<void> {
|
|||
void modal.show({
|
||||
...showOptions,
|
||||
focusFirstInput: true,
|
||||
beforeAnimation: async () => {
|
||||
afterAnimation: async () => {
|
||||
CaptchaController.render(
|
||||
document.querySelector("#quoteSubmitModal .g-recaptcha") as HTMLElement,
|
||||
"submitQuote"
|
||||
|
|
Loading…
Reference in a new issue