mois3x / sweet-alert-rails-confirm

A Rails confirm replacement with SweetAlert
MIT License
73 stars 50 forks source link

Consider new Turbolinks 5 event names #42

Closed jmbejar closed 8 years ago

jmbejar commented 8 years ago

Turbolinks 5 has renamed their events, so we should rely on the turbolinks:load to make sweet alerts work.

I'm adding this event but not removing page:load and page:update in order to support the classic version of Turbolinks

In this way, rails apps using either version of TL are covered.

mois3x commented 8 years ago

Thanks.