You've already forked AstralRinth
forked from didirus/AstralRinth
Fix captcha not showing on create account page
This commit is contained in:
@@ -12,6 +12,9 @@ function hCaptchaReady() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
if (window.hcaptcha) {
|
||||||
|
hCaptchaReady();
|
||||||
|
} else {
|
||||||
window.hCaptchaReady = hCaptchaReady;
|
window.hCaptchaReady = hCaptchaReady;
|
||||||
|
|
||||||
useHead({
|
useHead({
|
||||||
@@ -23,6 +26,7 @@ onMounted(() => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
|
|||||||
Reference in New Issue
Block a user