Merge pull request #9315 from GeorgLegato/get_uiCurrentTab_Gr3.23_wrong
get_uiCurrentTab() wrong with Gradio 3.23.0
This commit is contained in:
commit
31dbec6b76
|
@ -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…
Reference in New Issue