Commit 64fb3d16 authored by missionfloyd's avatar missionfloyd
Browse files

Fix fullscreen image viewer

parent b8040e4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }