diff --git a/assets/js/toggle_view.js b/assets/js/toggle_view.js index b18091bd..02e9b625 100644 --- a/assets/js/toggle_view.js +++ b/assets/js/toggle_view.js @@ -16,7 +16,6 @@ const samlLogoutTab2Button = document.getElementById('saml_logout_tab2_button'); const samlLogoutResponseTab1Button = document.getElementById('saml_logout_response_tab1_button'); const samlLogoutResponseTab2Button = document.getElementById('saml_logout_response_tab2_button'); - function hideTabTwoCode(evt) { const errorButton = document.getElementById(`${evt.currentTarget.dataset.selector}_tab2_button`); errorButton.classList.remove('code-button__selected'); @@ -47,7 +46,6 @@ function showTabTwoCode(evt) { hideTabOneCode(evt); } - // Event Listeners if (oidcAuthTab1Button) { oidcAuthTab1Button.addEventListener('click', showTabOneCode);