mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-20 21:30:09 +08:00
Fix fullscreen image viewer
This commit is contained in:
parent
b8040e4ab9
commit
64fb3d16a9
@ -179,7 +179,7 @@ function modalTileImageToggle(event) {
|
||||
}
|
||||
|
||||
onAfterUiUpdate(function() {
|
||||
var fullImg_preview = gradioApp().querySelectorAll('.gradio-gallery > div > img');
|
||||
var fullImg_preview = gradioApp().querySelectorAll('.gradio-gallery > button > button > img');
|
||||
if (fullImg_preview != null) {
|
||||
fullImg_preview.forEach(setupImageForLightbox);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user