From 99268f6b52d0f0f27308c54925cca264a80b9fe2 Mon Sep 17 00:00:00 2001 From: Jannis Vajen Date: Mon, 29 Jun 2020 13:45:53 +0200 Subject: [PATCH] Fix typo in error message --- js/foundation.toggler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2