mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-03 10:50:23 +00:00
add read access to settings for jsavascript
add an option to disable lightbox modal
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user