Commit 31dbec6b authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

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

get_uiCurrentTab() wrong with Gradio 3.23.0
parents 1bab1797 d9fdb521
...@@ -7,7 +7,7 @@ function gradioApp() { ...@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment