mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-06 01:02:02 -08:00
Update script.js
updated how tabs are presented in DOM with Gradio 3.23.
This commit is contained in:
parent
22bcc7be42
commit
d9fdb52149
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ function gradioApp() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_uiCurrentTab() {
|
function get_uiCurrentTab() {
|
||||||
return gradioApp().querySelector('#tabs button:not(.border-transparent)')
|
return gradioApp().querySelector('#tabs button.selected')
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_uiCurrentTabContent() {
|
function get_uiCurrentTabContent() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue