mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-09 10:41:15 -08:00
add read access to settings for jsavascript
add an option to disable lightbox modal
This commit is contained in:
parent
21086e60a9
commit
f3d83fd68a
5 changed files with 62 additions and 5 deletions
|
|
@ -9,7 +9,11 @@ function onUiUpdate(callback){
|
|||
|
||||
function uiUpdate(root){
|
||||
uiUpdateCallbacks.forEach(function(x){
|
||||
x()
|
||||
try {
|
||||
x()
|
||||
} catch (e) {
|
||||
(console.error || console.log).call(console, e.message, e);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue