From 6200d1710ef64f0146b0125a2fa606c85f21254d Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Sat, 6 Oct 2018 23:51:39 +0200 Subject: [PATCH] docs: fix various typo in Touch methods and Reveal tests --- js/foundation.util.touch.js | 2 +- test/visual/reveal/close-on-click.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/foundation.util.touch.js b/js/foundation.util.touch.js index a50f3c01e..33e42fe48 100644 --- a/js/foundation.util.touch.js +++ b/js/foundation.util.touch.js @@ -19,7 +19,7 @@ function onTouchEnd(e) { this.removeEventListener('touchmove', onTouchMove); this.removeEventListener('touchend', onTouchEnd); - // If the touch did not moved, consider it as a "tap" + // If the touch did not move, consider it as a "tap" if (!didMoved) { var tapEvent = $.Event('tap', startEvent || e); $(this).trigger(tapEvent); diff --git a/test/visual/reveal/close-on-click.html b/test/visual/reveal/close-on-click.html index 05b3cd7af..a3a92995a 100644 --- a/test/visual/reveal/close-on-click.html +++ b/test/visual/reveal/close-on-click.html @@ -17,21 +17,21 @@

Reveal: closeOnClick option

-

This modal should not close when clicking/taping outside of it.

+

This modal should not close when clicking/tapping outside of it.

-

Clicking/taping outside of me SHOULD NOT close me.

+

Clicking/tapping outside of me SHOULD NOT close me.


-

This modal should close when clicking (desktop) or taping without swiping (mobile) outside of it.

+

This modal should close when clicking (desktop) or tapping without swiping (mobile) outside of it.

-

Clicking (desktop) or taping without swiping (mobile) outside of me SHOULD close me.

+

Clicking (desktop) or tapping without swiping (mobile) outside of me SHOULD close me.

-- 2.47.2