Fixed yet another duplicate tap event bug. #1381

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
@martinkou

Line 81 of jquery.mobile.event.js says...

            function clearTapHandlers() {
                touching = false;
                clearTimeout(timer);
                $(this).unbind("vclick", clickHandler).unbind("vmousecancel", clearTapHandlers);
            }

The unbind line doesn't actually work because the this object at the moment clearTapHandlers() is called is not the DOM element with the tap event.

@martinkou martinkou closed this Apr 6, 2011

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