turbolinks / turbolinks-classic

Classic version of Turbolinks. Now deprecated in favor of Turbolinks 5.
MIT License
3.54k stars 431 forks source link

Pusher stacks up and fires multiple times when using turbolinks #555

Closed gregblass closed 9 years ago

gregblass commented 9 years ago

When I use pusher in combination with turbolinks, I'm experiencing an issue where the the push notifications stack with every turbolinks page that I visit. I moved the code outside of a script tag with data-turbolinks-eval=always, but its still happening. Has anyone else experienced this?

gregblass commented 9 years ago

Someone fixed this issue already with this gist: https://gist.github.com/ejholmes/6135198