Fix group/project name ellipsis button doing nothing

Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32738
This commit is contained in:
Eric Eastwood 2017-05-22 21:25:54 -05:00
parent 9ba8512c08
commit 2ae33f84df
1 changed files with 3 additions and 3 deletions

View File

@ -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() {