diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-22 10:57:00 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-22 10:57:00 +0100 |
commit | 4b0992e0885ad603528bad06cc8ed19c74ed9a5b (patch) | |
tree | ea52c2862405c80df45a5e7b10f3ec20a17173b3 | |
parent | d5398e9656c1174d4d5be5a8cdad2a26d7587a27 (diff) | |
download | gitlab-ce-4b0992e0885ad603528bad06cc8ed19c74ed9a5b.tar.gz |
Fixed issue with project dropdown links not being clickableproject-dropdown-link-click-fix
-rw-r--r-- | app/assets/javascripts/issuable_context.js.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/issuable_context.js.coffee b/app/assets/javascripts/issuable_context.js.coffee index 3a439b94c59..3c491ebfc4c 100644 --- a/app/assets/javascripts/issuable_context.js.coffee +++ b/app/assets/javascripts/issuable_context.js.coffee @@ -10,8 +10,8 @@ class @IssuableContext $(this).submit() $(document) - .off 'click', '.dropdown-content a' - .on 'click', '.dropdown-content a', (e) -> + .off 'click', '.issuable-sidebar .dropdown-content a' + .on 'click', '.issuable-sidebar .dropdown-content a', (e) -> e.preventDefault() $(document) |