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 @@
};
Dispatcher.prototype.initFieldErrors = function() {
var flaggedForms = document.querySelectorAll('.show-gl-field-errors');
return [...flaggedForms].forEach(function(form) {
$('.show-gl-field-errors').each((i, 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