Calls isPropagationStopped on the jQueryEvent at [0] instead of on the a... #127

Merged
merged 1 commit into from May 31, 2013

Conversation

Projects
None yet
2 participants
@Markionium
Contributor

Markionium commented Apr 28, 2013

When running the test i found that six tests using the wasStopped() method was failing because it tried to call isPropagationStopped on an array instead of the jqueryEvent.

Changed it to work like wasPrevented()

You could perhaps dry it up a bit more by putting the repeated code into a function of some sort.

travisjeffery added a commit that referenced this pull request May 31, 2013

Merge pull request #127 from Markionium/fix-isPropagationStopped
Calls isPropagationStopped on the jQueryEvent at [0] instead of on the a...

@travisjeffery travisjeffery merged commit a712085 into velesin:master May 31, 2013

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