Startup JavaScript code is not executed when using the Firefox “Back” button

后端 未结 3 916
夕颜
夕颜 2020-12-17 04:02

This website has a fancy effect: when a navigation link is clicked, the content fades out and when the new page (on a different URL) loads, its contents fade in.

Wha

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 04:50

    For anybody running in problems with Rails and this -- your issue isn't bfcache -- it's the turbolinks gem. Here is how to remove it.

提交回复
热议问题