Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-29 14:57:10 +0300
committerPhil Hughes <me@iamphill.com>2016-03-31 18:25:41 +0300
commita103fcb7cb14b3bf9f7af44409c79331274e9adc (patch)
treefa551ad2dcee46fd4f6a595da729fe870c7b0274 /app/assets/javascripts/gl_dropdown.js.coffee
parent29872c39055d55118cc8b9249caeb659041fea97 (diff)
Moved back some css classes
Diffstat (limited to 'app/assets/javascripts/gl_dropdown.js.coffee')
-rw-r--r--app/assets/javascripts/gl_dropdown.js.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js.coffee b/app/assets/javascripts/gl_dropdown.js.coffee
index 1937e5367db..5a555175291 100644
--- a/app/assets/javascripts/gl_dropdown.js.coffee
+++ b/app/assets/javascripts/gl_dropdown.js.coffee
@@ -326,8 +326,8 @@ class GitLabDropdown
).join('')
noResults: ->
- html = "<li class='dropdown-menu-empty-link is-focused'>"
- html += "<a href='#'>"
+ html = "<li class='dropdown-menu-empty-link'>"
+ html += "<a href='#' class='is-focused'>"
html += "No matching results."
html += "</a>"
html += "</li>"
@@ -433,7 +433,7 @@ class GitLabDropdown
# Update the class for the row at the specific index
$listItem = $listItems.eq(index)
- $listItem.addClass "is-focused"
+ $listItem.find('a:first-child').addClass "is-focused"
# Dropdown content scroll area
$dropdownContent = $listItem.closest('.dropdown-content')