搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

On firefox mobiile for android, I have registered a single click but the action happens only when the element is double clicked.

  • 1 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 Kevin

more options

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. :(

由cor-el于修改

所有回复 (1)

more options