$(document).ready(function(){ // correction bug iOS ne prenant pas en charge les :hover CSS des menus http://blakepetersen.io/how-to-ios-and-css-hover-events/ if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) { $("div.menu div.level1").click(function(){ // Leave this empty, that's the magic sauce }); } });