From: Jannis Vajen Date: Mon, 29 Jun 2020 11:45:53 +0000 (+0200) Subject: Fix typo in error message X-Git-Tag: v6.7.1~74^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12104%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix typo in error message --- diff --git a/js/foundation.toggler.js b/js/foundation.toggler.js index cdfd26140..dc565f7bb 100644 --- a/js/foundation.toggler.js +++ b/js/foundation.toggler.js @@ -60,7 +60,7 @@ class Toggler extends Plugin { else { input = this.options.toggler; if (typeof input !== 'string' || !input.length) { - throw new Error(`The 'toogler' option containing the target class is required, got "${input}"`); + throw new Error(`The 'toggler' option containing the target class is required, got "${input}"`); } // Allow for a . at the beginning of the string this.className = input[0] === '.' ? input.slice(1) : input;