diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-19 12:33:08 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-05-20 08:50:42 +0100 |
commit | 9f60a2eda24c9017c8b23ae8885ca31d59fbc659 (patch) | |
tree | 0975989ff55d979dcb322b059b551407bf7c65d2 /app/helpers/snippets_helper.rb | |
parent | f26389a02a48a53cccb3bb7dd1d7bcd4858c118d (diff) | |
download | gitlab-ce-dropdown-enter-select.tar.gz |
Fixed issue with enter key selecting wrong option in dropdowndropdown-enter-select
If you search for a label and press enter the dropdown will select the last element rather than the first. This is because the currentIndex is -1 rather than 0
Closes #17630
Diffstat (limited to 'app/helpers/snippets_helper.rb')
0 files changed, 0 insertions, 0 deletions