]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: fix various typo in Touch methods and Reveal tests (v6.5) 11531/head
authorNicolas Coden <nicolas@ncoden.fr>
Wed, 10 Oct 2018 17:31:51 +0000 (19:31 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Thu, 11 Oct 2018 19:47:01 +0000 (21:47 +0200)
This is a patch of 6200d17 (#11430) for v6.5.

js/foundation.util.touch.js

index a50f3c01e3caffa0a210794ab44db81d302bd0ab..33e42fe4868e83ee3576b1e0f351a2e1a48d929f 100644 (file)
@@ -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);