Merge pull request #9315 from GeorgLegato/get_uiCurrentTab_Gr3.23_wrong

get_uiCurrentTab() wrong with Gradio 3.23.0
This commit is contained in:
AUTOMATIC1111 2023-04-29 17:09:04 +03:00 committed by GitHub
commit 31dbec6b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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() {