Created
May 3, 2016 16:16
-
-
Save DrewDouglass/fb70b9ab6ddbfc044c963ae6d9b10d93 to your computer and use it in GitHub Desktop.
Show bootstrap dropdown menus on hover instead of click.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.dropdown-toggle').click(function() { | |
var location = $(this).attr('href'); | |
window.location.href = location; | |
return false; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment