Fix input reference
This commit is contained in:
parent
8f2587c2ee
commit
98e2273030
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue