Closed lewispb closed 6 years ago
I can't reproduce this. Could you make an example app that exhibits the bug?
https://github.com/lewispb/turbolinks-img-example
Refer to the partial: _test.html.haml
I believe it was because my partial lacked the same div as was referred to in my javascript. Maybe this issue just needs a better error message.
When using Turbolinks.replace within my javascript, I load a page that has an image tag
Which does work as intended, but I also get the following error in the console:
Interestingly, this works with no error (notice, no quotes):
This also affects images using image_tag.