diff --git a/_includes/js/switch-view-js.html b/_includes/js/switch-view-js.html index 9391a292..f72e7213 100644 --- a/_includes/js/switch-view-js.html +++ b/_includes/js/switch-view-js.html @@ -30,8 +30,6 @@ switchView.classList.add('btn-group', 'btn-group-toggle', 'd-flex'); switchView.classList.remove('btn-group-vertical'); - buttons.forEach((button) => (button.style.display = '')); - } else { buttons.forEach((button) => (button.style.display = '')); } };