-
Notifications
You must be signed in to change notification settings - Fork 257
Open
Description
I'm using Rails 5 with turbolinks, when I load the page it loads perfect. If I navigate anywhere else and then press the back button in my browser, the toolbar gets multiplied, as shown in the picture.
If I repeat the action I will get 3 toolbars, and so on.
My code is:
$(document).on('turbolinks:load', function () { window['rangy'].initialized = false; $('#news').wysihtml5({locale: "es-ES"}); }
I have another editor, this one using simple form as shown in the docs, but the multiplication happens even if I comment out one or the other. I would appreciate some help.
Metadata
Metadata
Assignees
Labels
No labels
