Commit 716406bc authored by Bryce Johnson's avatar Bryce Johnson

Back off the array spreading, bc poltergeist freaks out.

parent eb866dfe
...@@ -296,8 +296,7 @@ ...@@ -296,8 +296,7 @@
}; };
Dispatcher.prototype.initFieldErrors = function() { Dispatcher.prototype.initFieldErrors = function() {
var flaggedForms = document.querySelectorAll('.show-gl-field-errors'); $('.show-gl-field-errors').each((i, form) => {
return [...flaggedForms].forEach(function(form) {
new gl.GlFieldErrors(form); new gl.GlFieldErrors(form);
}); });
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment