with gradio 3.23 extra id change from E to e

pull/28/head
GeorgLegato 2023-04-10 16:23:30 +02:00
parent d3b1ab3de4
commit 78a96cbed7
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ function panorama_gototab(tabname = "Panorama Viewer", tabsId = "tabs") {
async function panorama_get_image_from_gallery(warnOnNoSelect) {
const curGal = gradioApp().querySelector('#tabs button.selected').innerText // get_uiCurrentTab()
if ("Extras" === curGal) curGal = "extras"
const buttons = gradioApp().querySelectorAll("#" + curGal + '_gallery .grid-container button img:not([src*="grid-"][src$=".png"])') // skip grid-img
let button = gradioApp().querySelector("#" + curGal + "_gallery .grid-container button.selected img")