Commit 452d1d4a authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'dropdown-enter-select-fix' into 'master'

Fixed issue with enter key not selecting correct value in dropdown

See merge request !3563
parents 61d0cf0c d6f276ea
......@@ -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]
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