Commit d6f276ea authored by Phil Hughes's avatar Phil Hughes

Fixed issue with enter key not selecting correct value in dropdown

parent f76bfed9
......@@ -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