From: Nicolas Coden Date: Fri, 28 Sep 2018 21:01:00 +0000 (+0200) Subject: docs: fix typo in SmoothScroll click handler X-Git-Tag: v6.6.0~3^2~89^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11519%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: fix typo in SmoothScroll click handler --- diff --git a/js/foundation.smoothScroll.js b/js/foundation.smoothScroll.js index ce8eda919..0cd211fe1 100644 --- a/js/foundation.smoothScroll.js +++ b/js/foundation.smoothScroll.js @@ -50,7 +50,7 @@ class SmoothScroll extends Plugin { * @private */ _handleLinkClick(e) { - // Follow the link it does not point to an anchor. + // Follow the link if it does not point to an anchor. if (!$(e.currentTarget).is('a[href^="#"]')) return; const arrival = e.currentTarget.getAttribute('href');