From: Gil Forcada Codinachs Date: Fri, 7 Sep 2018 20:10:48 +0000 (+0200) Subject: Fix swipe docs X-Git-Tag: v6.6.0~3^2~101^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11495%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix swipe docs See discussion on https://github.com/zurb/foundation-sites/issues/11490 --- diff --git a/docs/pages/javascript-utilities.md b/docs/pages/javascript-utilities.md index 5020fd7f2..5e15b6d29 100644 --- a/docs/pages/javascript-utilities.md +++ b/docs/pages/javascript-utilities.md @@ -147,7 +147,7 @@ Allows you to add `swipe*` and pseudo-drag events to elements. ```js $('selector').addTouch().on('mousemove', handleDrag); // Binds elements to touch events. Used in the Slider plugin for mobile devices. -$('selector').spotSwipe().on('swipeleft', handleLeftSwipe); +$('selector').on('swipeleft', handleLeftSwipe); // Binds elements to swipe events. Used in the Orbit plugin for mobile devices. ```