summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-23 19:45:00 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-23 19:45:00 -0500
commitd7350dea6a44ba88f86efd7ea5dc0fce0b9d353d (patch)
tree0aa93396f7b21c208e436c41ed652abedd0cda39
parent98e227303030782aff408e369e4b88b86633385a (diff)
downloadgitlab-ce-d7350dea6a44ba88f86efd7ea5dc0fce0b9d353d.tar.gz
Make sure we are looking inside dropdpown wrapper
-rw-r--r--app/assets/javascripts/gl_dropdown.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js.coffee b/app/assets/javascripts/gl_dropdown.js.coffee
index bc56aad3820..c19f55592f3 100644
--- a/app/assets/javascripts/gl_dropdown.js.coffee
+++ b/app/assets/javascripts/gl_dropdown.js.coffee
@@ -306,7 +306,7 @@ class GitLabDropdown
if @dropdown.find(".dropdown-toggle-page").length
selector = ".dropdown-page-one .dropdown-content li:first-child a"
- $(selector).addClass 'is-focused'
+ @getElement(selector).addClass 'is-focused'
rowClicked: (el) ->
fieldName = @options.fieldName