diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-14 11:34:53 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-10-14 11:34:53 +0300 |
commit | ebddb5f329778ebf96d78c31e2ac93707a455864 (patch) | |
tree | 03b82c611f0428fafc61c4f307c3415527e23bda /app/assets/javascripts/gl_dropdown.js | |
parent | 88996deba5a1d8b29f03856b295b33caa7290981 (diff) |
Fixed undefined keycode build error
Diffstat (limited to 'app/assets/javascripts/gl_dropdown.js')
-rw-r--r-- | app/assets/javascripts/gl_dropdown.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js b/app/assets/javascripts/gl_dropdown.js index fe798509420..53762f2965c 100644 --- a/app/assets/javascripts/gl_dropdown.js +++ b/app/assets/javascripts/gl_dropdown.js @@ -43,9 +43,6 @@ } else if (this.input.val() === "" && $inputContainer.hasClass(HAS_VALUE_CLASS)) { $inputContainer.removeClass(HAS_VALUE_CLASS); } - if (keyCode === 13 && !options.elIsInput) { - return false; - } // Only filter asynchronously only if option remote is set if (this.options.remote) { clearTimeout(timeout); |