From: Nicolas Coden Date: Sat, 6 Oct 2018 21:51:39 +0000 (+0200) Subject: docs: fix various typo in Touch methods and Reveal tests X-Git-Tag: v6.6.0~3^2~85^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11430%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: fix various typo in Touch methods and Reveal tests --- 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.