Overwriting $.mobile.useFastClick is not possible #1869

Closed
sustainablepace opened this Issue Jun 21, 2011 · 0 comments

Comments

Projects
None yet
2 participants
@sustainablepace

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.

@scottjehl scottjehl closed this in ffdfa4e Jun 21, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment