This is an HTML site built using Bootstrap. The site has a menu that should automatically open on mouseover, but currently, it does not close automatically.
(function($){
$(document).ready(function(){
$('ul.nav [data-toggle=dropdown]').on('mouseover', function(event) {
event.preventDefault();
event.stopPropagation();
$(this).parent().siblings().removeClass('open');
$(this).parent().toggleClass('open');
});
});
})(jQuery);
// CSS code snippet goes here...
// JavaScript code snippet goes here...
Feel free to test my code provided above.