mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-14 21:30:42 -08:00
Make disable configurable between builtin/extra extensions
This commit is contained in:
parent
2a4d3d2124
commit
fc8e1008ea
5 changed files with 30 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
function extensions_apply(_, _){
|
||||
function extensions_apply(_, _, disable_all){
|
||||
var disable = []
|
||||
var update = []
|
||||
|
||||
|
|
@ -13,10 +13,10 @@ function extensions_apply(_, _){
|
|||
|
||||
restart_reload()
|
||||
|
||||
return [JSON.stringify(disable), JSON.stringify(update)]
|
||||
return [JSON.stringify(disable), JSON.stringify(update), disable_all]
|
||||
}
|
||||
|
||||
function extensions_check(){
|
||||
function extensions_check(_, _){
|
||||
var disable = []
|
||||
|
||||
gradioApp().querySelectorAll('#extensions input[type="checkbox"]').forEach(function(x){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue