From 65c26b102db09ef880eae3bf37249bd74ba67db6 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Fri, 28 Sep 2018 23:01:00 +0200 Subject: [PATCH] docs: fix typo in SmoothScroll click handler --- js/foundation.smoothScroll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.47.2