Skip to content

Commit

Permalink
Merge pull request AUTOMATIC1111#9315 from GeorgLegato/get_uiCurrentT…
Browse files Browse the repository at this point in the history
…ab_Gr3.23_wrong

get_uiCurrentTab() wrong with Gradio 3.23.0
  • Loading branch information
AUTOMATIC1111 authored Apr 29, 2023
2 parents 1bab179 + d9fdb52 commit 31dbec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function gradioApp() {
}

function get_uiCurrentTab() {
return gradioApp().querySelector('#tabs button:not(.border-transparent)')
return gradioApp().querySelector('#tabs button.selected')
}

function get_uiCurrentTabContent() {
Expand Down

0 comments on commit 31dbec6

Please sign in to comment.