Rails, turbolinks and javascript. How to avoid duplicate Switchery button appear?
I'm implementing Switchery button in my Rails app and Turbolinks is on. When I navigate to another page, and then click the back button, the button is being duplicated. Here is my Javascript code:...
Lee Terng Gio posted