aboutsummaryrefslogtreecommitdiff
path: root/script.js
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-04-29 17:09:04 +0300
committerGitHub <noreply@github.com>2023-04-29 17:09:04 +0300
commit31dbec6b761d912ad986727068c2f3cc4d39a23d (patch)
treebc0e03a8cca25a51a6099b13b2b5c04c295ff926 /script.js
parent1bab1797c0334bdc829c3ee4481316385fd5dbe6 (diff)
parentd9fdb5214922b10a16c66207376953460972c6e8 (diff)
Merge pull request #9315 from GeorgLegato/get_uiCurrentTab_Gr3.23_wrong
get_uiCurrentTab() wrong with Gradio 3.23.0
Diffstat (limited to 'script.js')
-rw-r--r--script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/script.js b/script.js
index 1b9a443f..03afe844 100644
--- a/script.js
+++ b/script.js
@@ -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() {