diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-23 19:45:00 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-23 19:45:00 -0500 |
commit | d7350dea6a44ba88f86efd7ea5dc0fce0b9d353d (patch) | |
tree | 0aa93396f7b21c208e436c41ed652abedd0cda39 | |
parent | 98e227303030782aff408e369e4b88b86633385a (diff) | |
download | gitlab-ce-d7350dea6a44ba88f86efd7ea5dc0fce0b9d353d.tar.gz |
Make sure we are looking inside dropdpown wrapper
-rw-r--r-- | app/assets/javascripts/gl_dropdown.js.coffee | 2 |
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 |