Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2017-03-28 21:15:22 +0300
committerJacob Schatz <jschatz@gitlab.com>2017-03-28 21:15:22 +0300
commit01b5d885d9b91bd2004705bc1570262081bb7e68 (patch)
treea8d89676d7870ec8026e08342a53744f9a79b5b9 /app/views/projects/commits/_commit.html.haml
parent520f7cd08a7eb67b016c6fc5c05786d57a8f18a2 (diff)
parentcf3c43980d3911e32d767158420400d75edf3968 (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.haml2
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