summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-11-02 11:37:35 +0100
committerBryce Johnson <bryce@gitlab.com>2016-11-02 11:37:35 +0100
commit4b4fde7528d9ecd4d0947c1a2879cfe4c58e720a (patch)
tree810616f060ec164d01828d81d5512e736c333092 /app
parentd939fbed0953be5e19308ec7dc7832cfd1d38160 (diff)
downloadgitlab-ce-4b4fde7528d9ecd4d0947c1a2879cfe4c58e720a.tar.gz
Move snake_case to camelCase.
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/gl_field_error.js.es64
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/gl_field_error.js.es6 b/app/assets/javascripts/gl_field_error.js.es6
index 12ea69da165..f7cbecc0385 100644
--- a/app/assets/javascripts/gl_field_error.js.es6
+++ b/app/assets/javascripts/gl_field_error.js.es6
@@ -114,8 +114,8 @@
this.renderValidity();
this.form.focusOnFirstInvalid.apply(this.form);
// For UX, wait til after first invalid submission to check each keyup
- this.inputElement.off('keyup.field_validator')
- .on('keyup.field_validator', this.updateValidity.bind(this));
+ this.inputElement.off('keyup.fieldValidator')
+ .on('keyup.fieldValidator', this.updateValidity.bind(this));
}
/* Get or set current input value */