Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Swipe: Keep swiperight when tearing down swipeleft and vice versa
Browse files Browse the repository at this point in the history
Fixes gh-7351
  • Loading branch information
Gabriel Schulhof committed Apr 28, 2014
1 parent 6e7f185 commit 09bbcc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/events/touch.js
Expand Up @@ -313,8 +313,8 @@ define( [ "jquery", "../vmouse", "../support/touch" ], function( jQuery ) {
$.each({
scrollstop: "scrollstart",
taphold: "tap",
swipeleft: "swipe",
swiperight: "swipe"
swipeleft: "swipe.left",
swiperight: "swipe.right"
}, function( event, sourceEvent ) {

$.event.special[ event ] = {
Expand Down

0 comments on commit 09bbcc5

Please sign in to comment.