Skip to content

Commit

Permalink
Syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya33 authored Feb 8, 2023
1 parent ffb1f15 commit dc7bcab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fieldstate.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ window.fs = window.fs || (function() {
//iterate over fields

let checker_func;
[(fields.forEach ? fields : [fields]).forEach(checker_func = field => {
(fields.forEach ? fields : [fields]).forEach(checker_func = field => {

//ignore if field is not actually a field
//if (!/input|select|textarea/i.test(field.tagName)) return;
Expand Down

0 comments on commit dc7bcab

Please sign in to comment.