From ad8247cda9cb90a2f44f30437efb053a0402ccde Mon Sep 17 00:00:00 2001 From: Matt Strayer Date: Tue, 11 Aug 2020 15:48:40 -0400 Subject: [PATCH] Update src/components/filtermenu/filtermenu.js Co-authored-by: Cameron --- src/components/filtermenu/filtermenu.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/filtermenu/filtermenu.js b/src/components/filtermenu/filtermenu.js index 0ed19f85c9..0e229a8044 100644 --- a/src/components/filtermenu/filtermenu.js +++ b/src/components/filtermenu/filtermenu.js @@ -102,9 +102,7 @@ function onInputCommand(e) { } function saveValues(context, settings, settingsKey) { var elems = context.querySelectorAll('.simpleFilter'); - var i; - var length; - for (i = 0, length = elems.length; i < length; i++) { + for (let i = 0, length = elems.length; i < length; i++) { if (elems[i].tagName === 'INPUT') { setBasicFilter(context, settingsKey + '-filter-' + elems[i].getAttribute('data-settingname'), elems[i]); } else {