Unverified Commit d9fdb521 authored by GeorgLegato's avatar GeorgLegato Committed by GitHub
Browse files

Update script.js

updated how tabs are presented in DOM with Gradio 3.23.
parent 22bcc7be
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() {