From eb22f7711d9c35038f6b3516ff259f3de1e872bd Mon Sep 17 00:00:00 2001 From: TakteS Date: Tue, 12 Sep 2017 16:23:29 +0900 Subject: [PATCH] Fix bug in foundation.util.touch --- js/foundation.util.touch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/foundation.util.touch.js b/js/foundation.util.touch.js index a0d311c0b..436146d7d 100644 --- a/js/foundation.util.touch.js +++ b/js/foundation.util.touch.js @@ -102,7 +102,7 @@ Touch.setupSpotSwipe = function($) { Touch.setupTouchHandler = function($) { $.fn.addTouch = function(){ this.each(function(i,el){ - $(el).bind('touchstart touchmove touchend touchcancel',function(){ + $(el).bind('touchstart touchmove touchend touchcancel', function(event) { //we pass the original event object because the jQuery event //object is normalized to w3c specs and does not provide the TouchList handleTouch(event); -- 2.47.2