Unverified Commit b202714b authored by Alexey Shirokov's avatar Alexey Shirokov Committed by GitHub
Browse files

Fix keyboard navigation in modal image viewer

parent 1a23dc32
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@ function showGalleryImage() {
                    e.addEventListener('mousedown', function (evt) {
                        if(!opts.js_modal_lightbox || evt.button != 0) return;
                        modalZoomSet(gradioApp().getElementById('modalImage'), opts.js_modal_lightbox_initially_zoomed)
                        evt.preventDefault()
                        showModal(evt)
                    }, true);
                }