mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-19 17:47:25 -05: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