From: TakteS Date: Tue, 12 Sep 2017 07:23:29 +0000 (+0900) Subject: Fix bug in foundation.util.touch X-Git-Tag: v6.4.4-rc1~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb22f7711d9c35038f6b3516ff259f3de1e872bd;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix bug in foundation.util.touch --- 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);