diff --git a/src/server/cyberhex-code/system/secure_zone/php/client_settings.php b/src/server/cyberhex-code/system/secure_zone/php/client_settings.php index 79722a5..ccec8a5 100644 --- a/src/server/cyberhex-code/system/secure_zone/php/client_settings.php +++ b/src/server/cyberhex-code/system/secure_zone/php/client_settings.php @@ -264,16 +264,7 @@ function load_settings(){ var task=time+';'+action+';'+argument+';'+name; await fetch('client_settings.php?update='+db+'&value='+task+'&id='+id); } - //decide which div should be shown: - // Get the URL parameters - const queryString = window.location.search; - const urlParams = new URLSearchParams(queryString); - // Get the value of the "show" parameter - const show_div = getElementById(urlParams.get('show')); - const nav_tab = getElementById(urlParams.get('show')+"_tab"); - show_div.style.display="block"; - nav_tab.setAttribute('aria-current', 'page'); @@ -287,7 +278,7 @@ function load_settings(){