diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-31 23:28:45 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-31 23:29:14 +0300 |
commit | e3a983050714aa54a3c7911666cdd0abbc36e57a (patch) | |
tree | 80b19310f2d825773bb87624c20acc7cdc3caf81 /app/assets/javascripts/gl_dropdown.js.coffee | |
parent | ccc929d75d1f34accc4c7a6604c26cac6113a18c (diff) |
Skip default behaviour if we are clicking a result for the same location
Diffstat (limited to 'app/assets/javascripts/gl_dropdown.js.coffee')
-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 0fea2a69cb7..e4df7d46d51 100644 --- a/app/assets/javascripts/gl_dropdown.js.coffee +++ b/app/assets/javascripts/gl_dropdown.js.coffee @@ -174,7 +174,7 @@ class GitLabDropdown selected = self.rowClicked $(@) if self.options.clicked - self.options.clicked(selected) + self.options.clicked(selected, e) # Finds an element inside wrapper element getElement: (selector) -> |