mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -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
|
|
@ -70,8 +70,8 @@ function showGalleryImage(){
|
|||
e.style.cursor='pointer'
|
||||
|
||||
e.addEventListener('click', function (evt) {
|
||||
showModal(evt)
|
||||
|
||||
if(!opts.js_modal_lightbox) return;
|
||||
showModal(evt)
|
||||
},true);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue