I'm using this to hide/show a menu on small screen touch devices:
$('.menuButton').bind('touchstart',function(e){
e.preventDefault();
$('nav.mainNav ul li').toggle();
});
It appears to be firing twice on iphone, quickly displaying and disappearing again. This only the first time, works perfectly after that.
Any ideas? Thanks