in my project I am using jQuery and jQuery mobile. When I tap on the menuOpener, the menu should open. This works fine on desktop and Chrome mobile. But not in Firefox mobile. I couldn't test it in Safari mobile.
I have already tried all the suggestion I have found in SO and else. Irritatingly an old project, which has worked fine, so far, now is showing the same behaviour.
My HTML:
<div id="menuOpener">
<div class="hamburger hamburger1"></div>
<div class="hamburger hamburger2"></div>
<div class="hamburger hamburger3"></div>
</div>
<div id="menu">
<!-- some menu elements here -->
</div>
Javascript:
$('#menuOpener').on('click tap', function(){
alert ( 'open' );
$('#menu').toggleClass('open');
$(this).toggleClass('open');
});
The problem appears on this subpage, which I am using for testing Link
I hope, someone has an idea, why this is happening.
Regards Christian