hyperlink - Double tapping links in webview -
i have problem people double clicking links in webview. scripts done few times if person taps link couple times.
i tried disable webview , set unclickable in override of url loading doesn't seem work, every , still manages double tap.
anyone have ideas how implement loading screen stop people tapping link 2 times?
as far know, double click something, first click event trigger 2 times, make this:
var isclicked = false; $("a").click(function(event) { event.preventdefault(); if (!isclicked){ isclicked = true; // } }); just set isclicked , update false when process ends.
Comments
Post a Comment