Update src/components/filtermenu/filtermenu.js

Co-authored-by: Cameron <Influence365@gmail.com>
This commit is contained in:
Matt Strayer 2020-08-11 15:48:40 -04:00 committed by GitHub
parent fe237698bf
commit ad8247cda9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {