diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-11-29 19:21:26 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-11-29 19:21:26 +0300 |
commit | 80d21e647b7234b8d73590d0c5b03a32a3df491f (patch) | |
tree | daecc072c41c019c43ddd12581c92f80c2a7ab13 /app/assets | |
parent | 50d9cc6d1dc8fd2d2977cb0913c0968c7ef04aed (diff) |
Fix show page toggle
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/clusters/clusters_bundle.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/clusters/clusters_bundle.js b/app/assets/javascripts/clusters/clusters_bundle.js index dc443475952..7d7612bf5f3 100644 --- a/app/assets/javascripts/clusters/clusters_bundle.js +++ b/app/assets/javascripts/clusters/clusters_bundle.js @@ -145,8 +145,8 @@ export default class Clusters { } toggle() { - this.toggleButton.classList.toggle('checked'); - this.toggleInput.setAttribute('value', this.toggleButton.classList.contains('checked').toString()); + this.toggleButton.classList.toggle('is-checked'); + this.toggleInput.setAttribute('value', this.toggleButton.classList.contains('is-checked').toString()); } hideAll() { |