On firefox mobiile for android, I have registered a single click but the action happens only when the element is double clicked.
Html is something like this :
<ul class="login-status-container"> <li class="signout-btn"><a href="#">Sign out</a></li> </ul>
and here is the javascript:
$(".signout-btn a").click(function (event) { event.preventDefault(); signOut(); });
It is working fine on FF desktop but on FF mobile I need to double click on the link to make it work. Single click does nothing. :(
Modificadas por cor-el el
Todas las respuestas (1)
Watch for touch events not clicks.