From d9fdb5214922b10a16c66207376953460972c6e8 Mon Sep 17 00:00:00 2001 From: GeorgLegato Date: Mon, 3 Apr 2023 04:53:29 +0200 Subject: [PATCH] Update script.js updated how tabs are presented in DOM with Gradio 3.23. --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 1b9a443f9..03afe8445 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() {