diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-18 14:37:18 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-18 14:37:18 -0500 |
commit | 5c7181b51492bd3ee13c5b498ac117ba08576ea8 (patch) | |
tree | 2767a81c4226b6f3868d89c9e0269e4ea4f5dfb8 /app/assets | |
parent | 9a99fccb9717d4f1b0221de84094bb8db4ed280f (diff) | |
download | gitlab-ce-5c7181b51492bd3ee13c5b498ac117ba08576ea8.tar.gz |
Add is-link attribute to know if a menu item should not be stopped
Diffstat (limited to 'app/assets')
-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 fa1f765095a..398d3ba4dc8 100644 --- a/app/assets/javascripts/gl_dropdown.js.coffee +++ b/app/assets/javascripts/gl_dropdown.js.coffee @@ -247,7 +247,7 @@ class GitLabDropdown if @options.multiSelect $target = $(e.target) - if not $target.hasClass('dropdown-menu-close') and not $target.hasClass('dropdown-menu-close-icon') and ($target.attr('href') is '#') + if not $target.hasClass('dropdown-menu-close') and not $target.hasClass('dropdown-menu-close-icon') and not $target.data('is-link') e.stopPropagation() return false else |