0 comments
I'm having a problem in b1 with useFastClick. I need to deactivate it, and I registered with mobileinit, like this
$( document ).bind( "mobileinit", function(){ $.mobile.useFastClick = false; });
However, the mobileinit event is triggered AFTER the setting has been read here
$( document ).bind( $.mobile.useFastClick ? "vclick click" : "click", function( event ) {
Is there a way to set useFastClick properly? If not, I motion to postpone the click routing until after the mobileinit callbacks have fired.
3 participants
moved page load event bindings to a post-mobileinit callback so that …
…the useFastClick option can be set before it is used. Unit test included. Fixes #1869
ffdfa4e
scottjehl closed the issue in ffdfa4e June 21, 2011
a8de84a
I'm having a problem in b1 with useFastClick. I need to deactivate it, and I registered with mobileinit, like this
However, the mobileinit event is triggered AFTER the setting has been read here
Is there a way to set useFastClick properly? If not, I motion to postpone the click routing until after the mobileinit callbacks have fired.