Update client_settings.php

This commit is contained in:
jakani24
2024-02-11 20:09:37 +01:00
parent 0e348dadf5
commit 5b44fb378b

View File

@@ -550,8 +550,8 @@ function load_settings(){
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");
const show_div = document.getElementById(urlParams.get('show'));
const nav_tab = document.getElementById(urlParams.get('show')+"_tab");
show_div.style.display="block";
nav_tab.setAttribute('class', 'nav-link active');
</script>