mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
do not show licenses page when user selects Show all pages in settings
This commit is contained in:
parent
eabea24eb8
commit
fc966c0299
2 changed files with 5 additions and 2 deletions
|
|
@ -348,6 +348,9 @@ onUiUpdate(function(){
|
|||
settings_tabs.appendChild(show_all_pages)
|
||||
show_all_pages.onclick = function(){
|
||||
gradioApp().querySelectorAll('#settings > div').forEach(function(elem){
|
||||
if(elem.id == "settings_tab_licenses")
|
||||
return;
|
||||
|
||||
elem.style.display = "block";
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue