That's a signal that you are not reloading something via TurboLinks that you expect to be there. When a full page reload makes it work again, that means that something JS related in the page needs to observe the event 'turbolinks:load' rather than just the page:load.
document.addEventListener("turbolinks:load", function() { // ... }); Walter > On Nov 11, 2017, at 1:51 PM, Joe Guerra <jgue...@jginfosys.com> wrote: > > Ok, I just discovered if I reload the page hover will work. > > Not sure why it's not totally reloading the page after menu items have been > click (while hover is working). > > On Saturday, November 11, 2017 at 11:05:48 AM UTC-5, Mugurel Chirica wrote: > The best place to start is to completely read the Readme section for the > plugin you are trying to use, > https://github.com/CWSpear/bootstrap-hover-dropdown and after that try again > and implement it on your website. > > Check the console without the plugin to see if you get any turbo links > errors, if you don't get any error proceed with integrating the plugin with > your new knowledge from the Readme document. > > If it's not working, then check the console again, if you get any new errors > you are probably missing something and need to fix those js errors (make sure > you check the gem dependencies as well). > > > ok, I just tried $('.dropdown-toggle').dropdownHover(options); and I get ... > VM155:1 Uncaught ReferenceError: options is not defined > at <anonymous>:1:37 > > Yes, that's true because I gave you the example from the Readme, you need to > customise it for your code. > > $('YOUR_CLASS').dropdownHover({YOUR_OPTION: VALUE}); > Ex: $('.dropdown-toggle').dropdownHover({delay: 5000}); > > This will tell you if the JavaScript implementation was correct, if you can't > make that work in the console it's probably that. > > > After following all of the above steps you still can't make it work, I'll ask > for more details and try and help you get it working. > > Cheers > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/8e19cf61-ee40-4ca3-947b-a420aa91939a%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/FCF20334-E885-4F8B-AE57-7A63545984A4%40wdstudio.com. For more options, visit https://groups.google.com/d/optout.