diff --git a/web_src/js/features/common-global.js b/web_src/js/features/common-global.js index f35c077abf986..b345afd4cf76f 100644 --- a/web_src/js/features/common-global.js +++ b/web_src/js/features/common-global.js @@ -283,13 +283,6 @@ export function initGlobalLinkActions() { }); } -function handlePanelButtonToggle($btn) { - const toggleButton = $btn.data('toggle-button'); - if (!toggleButton) return; - $(toggleButton).show(); - $btn.hide(); -} - export function initGlobalButtons() { $('.show-panel.button').on('click', function () { $($(this).data('panel')).show();