diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2017-03-28 21:15:22 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2017-03-28 21:15:22 +0300 |
commit | 01b5d885d9b91bd2004705bc1570262081bb7e68 (patch) | |
tree | a8d89676d7870ec8026e08342a53744f9a79b5b9 /app/views/projects/commits/_commit.html.haml | |
parent | 520f7cd08a7eb67b016c6fc5c05786d57a8f18a2 (diff) | |
parent | cf3c43980d3911e32d767158420400d75edf3968 (diff) |
Merge branch '29414-fix-toggle-discussion-link-jump' into 'master'
Fix link togglers jumping to top
Closes #29414
See merge request !9918
Diffstat (limited to 'app/views/projects/commits/_commit.html.haml')
-rw-r--r-- | app/views/projects/commits/_commit.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commits/_commit.html.haml b/app/views/projects/commits/_commit.html.haml index 6ab9a80e083..4b1ff75541a 100644 --- a/app/views/projects/commits/_commit.html.haml +++ b/app/views/projects/commits/_commit.html.haml @@ -24,7 +24,7 @@ .visible-xs-inline = render_commit_status(commit, ref: ref) - if commit.description? - %a.text-expander.hidden-xs.js-toggle-button ... + %button.text-expander.hidden-xs.js-toggle-button{ type: "button" } ... - if commit.description? %pre.commit-row-description.js-toggle-content |