Open rubenheymans opened 9 years ago
Is it possible to add an option to disable the click event on a dropdown-toggle?
This is what I have now: $('.dropdown-toggle').click(function(){ return false; });
$('.dropdown-toggle').click(function(){ return false; });
I'm using it to prevent this from happening: When the user hovers, but also clicks, the dropdown will show for a second and immediately close again.
Is it possible to add an option to disable the click event on a dropdown-toggle?
This is what I have now:
$('.dropdown-toggle').click(function(){ return false; });
I'm using it to prevent this from happening: When the user hovers, but also clicks, the dropdown will show for a second and immediately close again.