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

Use native dom in dispatcher field error init.

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