We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4207597 commit f97f5c1Copy full SHA for f97f5c1
javascript/imageviewer.js
@@ -165,6 +165,7 @@ function modalLivePreviewToggle(event) {
165
const modalToggleLivePreview = gradioApp().getElementById("modal_toggle_live_preview");
166
opts.js_live_preview_in_modal_lightbox = !opts.js_live_preview_in_modal_lightbox;
167
modalToggleLivePreview.innerHTML = opts.js_live_preview_in_modal_lightbox ? "🗇" : "🗆";
168
+ updateModalImageIfVisible();
169
event.stopPropagation();
170
}
171
0 commit comments