From: Gil Forcada Codinachs Date: Mon, 10 Sep 2018 20:57:39 +0000 (+0200) Subject: Use pull request #11495 from gforcada/patch-1 for v6.5.0 X-Git-Tag: v6.5.0-rc.3^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab5b782b0be22dc5087f294c76ca80d8bb2d6480;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Use pull request #11495 from gforcada/patch-1 for v6.5.0 38347e931 Fix swipe docs Signed-off-by: Nicolas Coden --- 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. ```