Fix input reference

This commit is contained in:
Alfredo Sumaran 2016-03-23 19:44:24 -05:00
parent 8f2587c2ee
commit 98e2273030

View file

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