]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #11495 from gforcada/patch-1 for v6.5.0
authorGil Forcada Codinachs <gil.gnome@gmail.com>
Mon, 10 Sep 2018 20:57:39 +0000 (22:57 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Mon, 10 Sep 2018 20:57:39 +0000 (22:57 +0200)
38347e931 Fix swipe docs

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
docs/pages/javascript-utilities.md

index 5020fd7f281bf201b5b4d0f83ee388972684f4ee..5e15b6d295f191d3018b664f2fa94b57a7b05068 100644 (file)
@@ -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.
 ```