mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
fix: render all turnstiles as flexible and interaction-only
This commit is contained in:
@@ -230,7 +230,9 @@
|
||||
}
|
||||
turnstileWidgetId = window.turnstile.render(turnstileEl, {
|
||||
sitekey: reportSiteKey,
|
||||
theme: 'dark'
|
||||
theme: 'dark',
|
||||
size: 'flexible',
|
||||
appearence: 'interaction-only'
|
||||
});
|
||||
};
|
||||
if (window.turnstile) {
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
if (window.turnstile && data.options?.cf_turnstile_site_key) {
|
||||
window.turnstile.render('.cf-turnstile', {
|
||||
sitekey: data.options.cf_turnstile_site_key,
|
||||
theme: 'dark'
|
||||
theme: 'dark',
|
||||
size: 'flexible',
|
||||
appearence: 'interaction-only'
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
@@ -36,7 +36,9 @@
|
||||
) {
|
||||
window.turnstile.render('.cf-turnstile', {
|
||||
sitekey: data.options.cf_turnstile_site_key,
|
||||
theme: 'dark'
|
||||
theme: 'dark',
|
||||
size: 'flexible',
|
||||
appearence: 'interaction-only'
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user