clicking the settings icon now toggles the settings window closed as well as open

merge-requests/100/head
Matthew Chambers 2021-05-16 20:41:19 -05:00
rodzic 5085342a0a
commit e301b10c52
1 zmienionych plików z 12 dodań i 4 usunięć

Wyświetl plik

@ -9110,10 +9110,18 @@ function showRootInfoBox()
function showSettingsBox()
{
updateRunningProcesses();
helpDiv.style.display = "none";
g_helpShow = false;
rootSettingsDiv.style.display = "inline-block";
if (rootSettingsDiv.style.display == "inline-block")
{
updateRunningProcesses();
rootSettingsDiv.style.display = "none";
}
else
{
updateRunningProcesses();
helpDiv.style.display = "none";
g_helpShow = false;
rootSettingsDiv.style.display = "inline-block";
}
}
function toggleBaWindow(event)