I'm using Turbolinks with Bootstrap 3 Modal component on rails4. If I refresh and open the page, the modal backdrop will be normal. However, the modal backdrop opacity keeps getting darker and darker as I open other pages, I assumes the opacity was not reset when Turbolinks loads in another page. I tried to find the backdrop element, but it looks like the opacity is generated on the fly by javascript. Have anyone seen the same problem? What's the fix?
Solved this with: Rails 4 Turbolinks make form submit multiple times
Looks like someone clever has moved the javascript into the body to save the page from blocked when loading too much js, while turbolinks will then load these js into the page every time a new page is rendered.