Skip to content

Instantly share code, notes, and snippets.

@lewebsimple
lewebsimple / dropdown-hover.js
Created Mar 20, 2017
[Bootstrap 4] Dropdown navbar menu on hover
View dropdown-hover.js
// Dropdown navbar menu on hover
$('.dropdown-menu', this).css('margin-top', 0);
$('.dropdown').hover(function () {
$('.dropdown-toggle', this).trigger('click').toggleClass("disabled");
});
You can’t perform that action at this time.