enableTransitionCache() + data-turbolinks-permanent
nicolasmlv opened this issue · 0 comments
nicolasmlv commented
Hello,
So I have this view :
And when I call this :
Turbolinks.visit("http://localhost/home");
A JS error is raised because there is a data-turbolinks-permanent element :
It is working if I remove enableTransitionCache() :
I guess this is something here :
https://github.com/rails/turbolinks/blob/master/lib/assets/javascripts/turbolinks.coffee#L190 or maybe we should update the Readme about this incompatibility (in the "Transition Cache: A Speed Boost" part)