From 38347e9310a31c36a02e273c28c9f3be7ed0d165 Mon Sep 17 00:00:00 2001 From: Gil Forcada Codinachs Date: Fri, 7 Sep 2018 22:10:48 +0200 Subject: [PATCH] Fix swipe docs See discussion on https://github.com/zurb/foundation-sites/issues/11490 --- docs/pages/javascript-utilities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. ``` -- 2.47.2