jQuery Hover Menu disappears when right click
I have a Menu that opens when hovering. But on right click the menu disappears when the contextmenu opens. But I can't figure out why. I need the hover menu open at the same time with contextmenu/right click. The jQuery Code (Version jquery-1.11.2.min.js) : jQuery(document).on('mouseover','#main_menu',function() { jQuery('#main_menu_inner').show(); }); jQuery(document).on('mouseleave','#main_menu',function() { jQuery('#main_menu_inner').hide(); }); The HTML: <div id="main_menu"> <img id="menu_button" src="/skin/images/all/structure/menu_button.png" alt="Menü" /> <div id="main_menu_inner"> <img