Unverified Commit 31dbec6b authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub
Browse files

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

get_uiCurrentTab() wrong with Gradio 3.23.0
parents 1bab1797 d9fdb521
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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() {