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. :(
Html is something like this :
<pre><nowiki><ul class="login-status-container">
<li class="signout-btn"><a href="#">Sign out</a></li>
</ul></nowiki></pre>
and here is the javascript:
<pre><nowiki>$(".signout-btn a").click(function (event) {
event.preventDefault();
signOut();
});</nowiki></pre>
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. :(
Okulungisiwe
All Replies (1)
Watch for touch events not clicks.