diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-05-22 21:25:54 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-05-22 21:25:54 -0500 |
commit | 2ae33f84df8e19b5777f64eee7c9bba003fe0d08 (patch) | |
tree | d9ba3e137b17cd8075001e1580e7c2496b92c4aa | |
parent | 9ba8512c08b796746ba2de8610e829b0e1283d73 (diff) | |
download | gitlab-ce-2ae33f84df8e19b5777f64eee7c9bba003fe0d08.tar.gz |
Fix group/project name ellipsis button doing nothing32738-fix-project-title-ellipsis-doing-nothing
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32738
-rw-r--r-- | app/assets/javascripts/group_name.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/group_name.js b/app/assets/javascripts/group_name.js index 62675d7e67e..462d792b8d5 100644 --- a/app/assets/javascripts/group_name.js +++ b/app/assets/javascripts/group_name.js @@ -44,18 +44,18 @@ export default class GroupName { showToggle() { this.title.classList.add('wrap'); this.toggle.classList.remove('hidden'); - if (this.isHidden) this.groupTitle.classList.add('is-hidden'); + if (this.isHidden) this.groupTitle.classList.add('hidden'); } hideToggle() { this.title.classList.remove('wrap'); this.toggle.classList.add('hidden'); - if (this.isHidden) this.groupTitle.classList.remove('is-hidden'); + if (this.isHidden) this.groupTitle.classList.remove('hidden'); } toggleGroups() { this.isHidden = !this.isHidden; - this.groupTitle.classList.toggle('is-hidden'); + this.groupTitle.classList.toggle('hidden'); } render() { |