with gradio 3.23 extra id change from E to e

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

View File

@ -159,8 +159,8 @@ function panorama_gototab(tabname = "Panorama Viewer", tabsId = "tabs") {
async function panorama_get_image_from_gallery() {
const curGal = gradioApp().querySelector('#tabs button.selected').innerText // get_uiCurrentTab()
let curGal = gradioApp().querySelector('#tabs button.selected').innerText // get_uiCurrentTab()
if ("Extras" === curGal) curGal = "extras"
const buttons = gradioApp().querySelectorAll("#" + curGal + "_gallery .grid-container button")
let button = gradioApp().querySelector("#" + curGal + "_gallery .grid-container button.selected")