mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +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, {
|
turnstileWidgetId = window.turnstile.render(turnstileEl, {
|
||||||
sitekey: reportSiteKey,
|
sitekey: reportSiteKey,
|
||||||
theme: 'dark'
|
theme: 'dark',
|
||||||
|
size: 'flexible',
|
||||||
|
appearence: 'interaction-only'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
if (window.turnstile) {
|
if (window.turnstile) {
|
||||||
|
|||||||
@@ -17,7 +17,9 @@
|
|||||||
if (window.turnstile && data.options?.cf_turnstile_site_key) {
|
if (window.turnstile && data.options?.cf_turnstile_site_key) {
|
||||||
window.turnstile.render('.cf-turnstile', {
|
window.turnstile.render('.cf-turnstile', {
|
||||||
sitekey: data.options.cf_turnstile_site_key,
|
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', {
|
window.turnstile.render('.cf-turnstile', {
|
||||||
sitekey: data.options.cf_turnstile_site_key,
|
sitekey: data.options.cf_turnstile_site_key,
|
||||||
theme: 'dark'
|
theme: 'dark',
|
||||||
|
size: 'flexible',
|
||||||
|
appearence: 'interaction-only'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user