Dropdown hover
Dropdown on hover has been deleted from a while ago in favor of mobile devices, but we returned this opportunity.
This component requires bootstrap.js and postboot.js or just dropdown.js and dropdown-hover.js.
Dropdown disable click event
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
jQuery(document).ready(function ($) {
$(document).off('.dropdown.data-api');
$(document).on('show.bs.dropdown', '.dropdown-hover', function (e) {
var events = $._data(e.relatedTarget, 'events');
if (events) {
$(e.relatedTarget).off('click.bs.dropdown');
}
});
});