You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking at the documentation about the forward/back button in the 'Turbolinks Support' and I was trying to ensure my code is executed in this same manner for my project. I added the following code (which was taken from the documentation) to my application js:
$(document).on('page:restore',function(){// Manually evaluates the appended script tag.Paloma.executeHook();});
This would not work for me. I had to modify it as below:
$(document).on('page:restore',function(){// Manually evaluates the appended script tag.Paloma.executeHook();Paloma.engine.start();});
Is what I've done correct and the documentation just needs updating? Or have I missed something else?
The text was updated successfully, but these errors were encountered:
I was looking at the documentation about the forward/back button in the 'Turbolinks Support' and I was trying to ensure my code is executed in this same manner for my project. I added the following code (which was taken from the documentation) to my application js:
This would not work for me. I had to modify it as below:
Is what I've done correct and the documentation just needs updating? Or have I missed something else?
The text was updated successfully, but these errors were encountered: