mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #16575 from overleaf/mf-fix-captcha-homepage-website-registration
[web] Attach aborted captcha event handler to body instead of '.content' to fix register flow on homepage website-redesign GitOrigin-RevId: f3e5b67476fb2584b7b6eec26114f2cc6e00bfdb
This commit is contained in:
parent
cd59ca2bea
commit
c52b29bbaa
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ export async function validateCaptchaV2() {
|
||||||
})
|
})
|
||||||
// Attach abort handler once when setting up the captcha.
|
// Attach abort handler once when setting up the captcha.
|
||||||
document
|
document
|
||||||
.querySelector('.content')
|
.querySelector('[data-ol-captcha-retry-trigger-area]')
|
||||||
.addEventListener('click', handleAbortedCaptcha)
|
.addEventListener('click', handleAbortedCaptcha)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue