-
Notifications
You must be signed in to change notification settings - Fork 65
please support turbolinks5 thanks ! #61
Comments
@kossnocorp Any news about this issue ;) ? |
duplicate of #56 |
Meanwhile, try this |
Here is my solution:
|
Lowryderch's steps worked for me expect I didn't want to add jquery.turbolinks |
@Lowryderch Would it be possible to make a JavaScript version of your script, please? |
Had this problem for about a day, this solution worked great, thanks so much @Lowryderch! |
Thanks @Lowryderch it's work for me as well, but with some side effects. I have now 2 superfish span.sf-sub-indicator images after refresh. And after using of link_to I'm stay just with one (as should be). Maybe you have any Idea why is it like this? |
Hi @ChaosPredictor, I got more or less the same issue, after the second click, my assets are executed twice (as you can see on that screenshot: https://postimg.org/image/fuest7qjx/). Did you solve your problem ? |
Hi @UsinaSites, I just remove the element. it's not kind of solution the work for you |
Thanks @Lowryderch it's work for me as well. |
@adeeb1 I created one here: https://gist.github.com/AndrewSouthpaw/5a3144d9b2ed5334e0ada83a78ace42d Using it: import jQueryTurbolinksCompatibility from './jquery-turbolinks-compatibility'
jQueryTurbolinksCompatibility() |
@AndrewSouthpaw Thanks a lot! It seems your script requires the use of ES6? |
Yeah. It would require only minor modifications to make it work for ES5. |
Thanks @Lowryderch. This works perfectly. If anyone are having trouble with this, make sure your application.js is like this: //= require jquery
//= require jquery_ujs
//= require jquery.turbolinks
//= require turbolinks
//= require turbolinks-compatibility
other scripts... and not something like: //= require jquery
//= require jquery_ujs
//= require jquery.turbolinks
other scripts...
//= require turbolinks
//= require turbolinks-compatibility |
Can anybody tell me why i am receiving this error? |
No description provided.
The text was updated successfully, but these errors were encountered: