From e7185259360d9e2f89320658025879c10a134ce6 Mon Sep 17 00:00:00 2001 From: Pete Marcano Date: Mon, 31 Jul 2017 14:19:31 -0400 Subject: [PATCH] Changed ES6 function syntax to ES5 in JS example (#977) --- docs/documentation/components/navbar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/components/navbar.html b/docs/documentation/components/navbar.html index 9fc972c7..78541fab 100644 --- a/docs/documentation/components/navbar.html +++ b/docs/documentation/components/navbar.html @@ -417,7 +417,7 @@ document.addEventListener('DOMContentLoaded', function () { // Add a click event on each of them $navbarBurgers.forEach(function ($el) { - $el.addEventListener('click', () => { + $el.addEventListener('click', function () { // Get the target from the "data-target" attribute var target = $el.dataset.target;