Commit 0f57245f authored by Bryce Johnson's avatar Bryce Johnson

Use native dom in dispatcher field error init.

parent 3c536bcc
...@@ -296,9 +296,10 @@ ...@@ -296,9 +296,10 @@
}; };
Dispatcher.prototype.initFieldErrors = function() { Dispatcher.prototype.initFieldErrors = function() {
$('form.show-gl-field-errors').each(function(i, form) { return document.querySelectorAll('.show-gl-field-errors')
new gl.GlFieldErrors(form); .forEach(function(form) {
}); new gl.GlFieldErrors(form);
});
}; };
return Dispatcher; return Dispatcher;
......
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