Commit 98e22730 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Fix input reference

parent 8f2587c2
......@@ -301,7 +301,7 @@ class GitLabDropdown
html += "</li>"
highlightRow: (index) ->
if @input.val() isnt ""
if @filterInput.val() isnt ""
selector = '.dropdown-content li:first-child a'
if @dropdown.find(".dropdown-toggle-page").length
selector = ".dropdown-page-one .dropdown-content li:first-child a"
......
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