From 28129cb50101210ae0f5482298c9c111843376c6 Mon Sep 17 00:00:00 2001 From: mtwente <127845092+mtwente@users.noreply.github.com> Date: Wed, 6 Nov 2024 14:32:19 +0100 Subject: [PATCH] fix: remove duplicate line --- _includes/js/switch-view-js.html | 2 -- 1 file changed, 2 deletions(-) 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 = '')); } };