Japanese translator turned software engineer. I work mostly with Ruby and Rails, but love working on both the backend and the frontend. Currently a computer science student @ University of Colorado.
Location
Connecticut
Education
University of Colorado, Ohio State University, IUC (for Japanese)
Hey Steven, I did not have any issues with turbolinks doing it the way I wrote in the blog post. I unfortunately haven't tried it with a document.on(turbolinks:load) wrapper.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Did you run into any issues with Turbolinks doing it this way? I noticed the page with my form will only load the recaptcha if I refresh the page.
I tried wrapping the grecaptcha.ready function in a document.on(turbolinks:load) like this:
but to no avail. Any suggestions?
Hey did you ever figure this out? Running into
Uncaught ReferenceError: grecaptcha is not defined
and it's referencing a lot of Turbolinks links.Hey! Sorry for the late reply. It's been awhile but I think I ended up disabling turbolinks for that particular page and the code ran fine after that.
Check this out: github.com/turbolinks/turbolinks#d...
Hope that helps!
Ahh okay! I'll try that out, thank you so much!
Hey Steven, I did not have any issues with turbolinks doing it the way I wrote in the blog post. I unfortunately haven't tried it with a
document.on(turbolinks:load)
wrapper.