fix bugginess in dropdown hover
This commit is contained in:
@@ -388,8 +388,11 @@ $(document).ready(function(){
|
||||
});
|
||||
} else {
|
||||
// else trigger dropdown on hover
|
||||
$('.dropdown.main-nav-dropdown').hover(function() {
|
||||
$('.dropdown-toggle', this).trigger('click');
|
||||
$('.dropdown.main-nav-dropdown').mouseenter(function() {
|
||||
$(this).addClass('open');
|
||||
});
|
||||
$('.dropdown.main-nav-dropdown').mouseleave(function() {
|
||||
$(this).removeClass('open');
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user