1
Vote

tapToClick option actually not used

description

There's not really much more to say, it's just that the tapToClick option is not actually used.

The comment right above the condition that checks for the number of pixels moved (line 260) says that the option would be checked here, but that's not true, it's not being checked anywhere, and looking at the previous releases it looks like it was never used at all.

The side effects are click events that are being triggered twice.

Regards, James

comments

seanjacob wrote Mar 20, 2013 at 9:58 AM

To prevent the trigger twice I changed the config to preventDefault: false and set tapToClick: false.