diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-11-16 09:08:15 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-11-16 09:08:15 +0000 |
commit | 58b05a6e3ffc7390c74108d02e476788055074bc (patch) | |
tree | 6355c88b231d79de62387edaf116428f9a06318a /app/views/projects/commit/_ajax_signature.html.haml | |
parent | a248bb769f40937e93e8050f3ababb9066115940 (diff) | |
download | gitlab-ce-58b05a6e3ffc7390c74108d02e476788055074bc.tar.gz |
Resolve "Clicking on GPG verification badge jumps to top of the page"
Diffstat (limited to 'app/views/projects/commit/_ajax_signature.html.haml')
-rw-r--r-- | app/views/projects/commit/_ajax_signature.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_ajax_signature.html.haml b/app/views/projects/commit/_ajax_signature.html.haml index 1d6a0fa38ca..36b28c731a1 100644 --- a/app/views/projects/commit/_ajax_signature.html.haml +++ b/app/views/projects/commit/_ajax_signature.html.haml @@ -1,2 +1,2 @@ - if commit.has_signature? - %a{ href: '#', tabindex: 0, class: commit_signature_badge_classes('js-loading-gpg-badge'), data: { toggle: 'tooltip', placement: 'auto top', title: 'GPG signature (loading...)', 'commit-sha' => commit.sha } } + %a{ href: 'javascript:void(0)', tabindex: 0, class: commit_signature_badge_classes('js-loading-gpg-badge'), data: { toggle: 'tooltip', placement: 'auto top', title: 'GPG signature (loading...)', 'commit-sha' => commit.sha } } |