Created
March 20, 2017 23:53
-
-
Save lewebsimple/6121d35a5977cb036b08c8d9bdb94726 to your computer and use it in GitHub Desktop.
[Bootstrap 4] Dropdown navbar menu on hover
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 navbar menu on hover | |
$('.dropdown-menu', this).css('margin-top', 0); | |
$('.dropdown').hover(function () { | |
$('.dropdown-toggle', this).trigger('click').toggleClass("disabled"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!