diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-08-10 12:35:57 +0100 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-08-25 14:09:32 -0500 |
commit | 805a026efbc8c818717c21c7dde88d92d000046d (patch) | |
tree | 941ca5c7044649b4c490ab14e4b79fe41d854983 | |
parent | 540b9a2a28cb54f38ed24f1496007fa134c95943 (diff) | |
download | gitlab-ce-805a026efbc8c818717c21c7dde88d92d000046d.tar.gz |
Fix eslint
-rw-r--r-- | app/assets/javascripts/gl_dropdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js b/app/assets/javascripts/gl_dropdown.js index 21a754bd43e..322a95b67cd 100644 --- a/app/assets/javascripts/gl_dropdown.js +++ b/app/assets/javascripts/gl_dropdown.js @@ -33,7 +33,7 @@ GitLabDropdownInput = (function() { .on('input', function(e) { var val = e.currentTarget.value || _this.options.inputFieldName; val = val.split(' ').join('-') // replaces space with dash - .replace(/[^a-zA-Z0-9-/]/g, '') // replace non alphanumeric + .replace(/[^a-zA-Z0-9-/]/g, ''); // replace non alphanumeric _this.cb(_this.options.fieldName, val, {}, true); _this.input.closest('.dropdown') .find('.dropdown-toggle-text') |