Skip to content

Commit 62ea258

Browse files
author
Gusted
committed
Code-style
1 parent 46be033 commit 62ea258

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/js/features/mcaptcha.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
export async function initMcaptcha() {
22
const siteKeyEl = document.querySelector('.m-captcha');
3-
43
if (!siteKeyEl) {
54
return;
65
}
6+
77
const {default: mCaptcha} = await import(/* webpackChunkName: "mcaptcha-vanilla-glue" */'@mcaptcha/vanilla-glue');
88
const siteKey = siteKeyEl.getAttribute('data-sitekey');
9+
910
mCaptcha.default({
1011
siteKey: {
1112
instanceUrl: new URL('http://localhost:7000'),

0 commit comments

Comments
 (0)