Closed mauron85 closed 10 years ago
That's odd. addMouseHandlers()
is called only in onMouseDown
and only if this.usingTouch
is false.
Try adding:
if (this.usingTouch || e.button !== 0) return;
after onMouseUp: function(e) {
. Does this help?
I can't reproduce. I've added some defensive code just in case.
I think it's bug.
slip:tap fires two kinds of events
Slip.Slip.onTouchEnd Slip.Slip.onMouseUp
it makes toggling (eg. toggleClass) unusable as one cancels another
Device: Nexus 4 OS: Android 4.4 Browser: Chrome 33