diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-04-06 22:16:23 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-04-06 22:16:23 +0300 |
commit | 452d1d4a8c3778f056c6c1e91e848ca6bd031edc (patch) | |
tree | aef6107b7b801b4d6925bfbce2a7bdeaa45dca49 /app | |
parent | 61d0cf0c6179a2aebaac897b73d4cf2c666a827a (diff) | |
parent | d6f276eacfdb7e8287df69dfc1dbf756288bade8 (diff) |
Merge branch 'dropdown-enter-select-fix' into 'master'
Fixed issue with enter key not selecting correct value in dropdown
See merge request !3563
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/gl_dropdown.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js.coffee b/app/assets/javascripts/gl_dropdown.js.coffee index 2a4811b8763..33c5126087f 100644 --- a/app/assets/javascripts/gl_dropdown.js.coffee +++ b/app/assets/javascripts/gl_dropdown.js.coffee @@ -394,7 +394,7 @@ class GitLabDropdown selector = ".dropdown-page-one #{selector}" # simulate a click on the first link - $(selector).trigger "click" + $(selector, @dropdown).trigger "click" addArrowKeyEvent: -> ARROW_KEY_CODES = [38, 40] |