Commit b663ee2c authored by AUTOMATIC's avatar AUTOMATIC
Browse files

fix fullscreen view showing wrong image on firefox

parent bc43293c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ function showGalleryImage() {
                if(e && e.parentElement.tagName == 'DIV'){
                    e.style.cursor='pointer'
                    e.style.userSelect='none'
                    e.addEventListener('click', function (evt) {
                    e.addEventListener('mousedown', function (evt) {
                        if(!opts.js_modal_lightbox) return;
                        modalZoomSet(gradioApp().getElementById('modalImage'), opts.js_modal_lightbox_initially_zoomed)
                        showModal(evt)