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

Update script.js
This commit is contained in:
Vladimir Mandic
2023-04-21 09:28:19 -04:00
committed by GitHub
+1 -1
View File
@@ -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() {