or maybe a workaround to make it not do that
or maybe a workaround to make it not do that
turnstile.ready twice (and rendering the Turnstile twice)?turnstile.ready to fix this
cf-turnstile-wrapper class earlier.
'#turnstile-container' as the first argument per the docs... but I get TurnstileError: [Cloudflare Turnstile] Invalid type for "container", expected "selector" or an implementation of "HTMLElement", got "#turnstile-container".document.querySelector('#turnstile-container') as the argument I get TurnstileError: [Cloudflare Turnstile] Invalid type for parameter "container", expected "string" or an implementation of "HTMLElement"..render() supposed to be?.render() to load the widget on my local dev sitehttps://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb but also $(document).on('turbolinks:load', _turnstileCb).onload callbacks for rendering the widget
turnstile.readyturnstile.readycf-turnstile-wrapper'#turnstile-container'TurnstileError: [Cloudflare Turnstile] Invalid type for "container", expected "selector" or an implementation of "HTMLElement", got "#turnstile-container".document.querySelector('#turnstile-container')TurnstileError: [Cloudflare Turnstile] Invalid type for parameter "container", expected "string" or an implementation of "HTMLElement"..render().render()https://challenges.cloudflare.com/turnstile/v0/api.js?onload=_turnstileCb$(document).on('turbolinks:load', _turnstileCb)onload