diff options
author | Gerschel <Gerschel_Payne@hotmail.com> | 2023-01-04 07:25:34 +0000 |
---|---|---|
committer | Gerschel <Gerschel_Payne@hotmail.com> | 2023-01-04 07:25:34 +0000 |
commit | 4fc81542077af73610279ad7b6b26e38718a0f81 (patch) | |
tree | 73a875afaee519871acb4b1a733f501fa062a2af /script.js | |
parent | 7e549468b3d01e6cdf6d07d00c2719c1a5787517 (diff) | |
download | stable-diffusion-webui-gfx803-4fc81542077af73610279ad7b6b26e38718a0f81.tar.gz stable-diffusion-webui-gfx803-4fc81542077af73610279ad7b6b26e38718a0f81.tar.bz2 stable-diffusion-webui-gfx803-4fc81542077af73610279ad7b6b26e38718a0f81.zip |
better targetting, class tabs was autoassigned
I moved a preset manager into quicksettings, this function
was targeting my component instead of the tabs. This is
because class tabs is autoassigned, while element id #tabs
is not, this allows a tabbed component to live in the quicksettings.
Diffstat (limited to 'script.js')
-rw-r--r-- | script.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ function gradioApp() { } function get_uiCurrentTab() { - return gradioApp().querySelector('.tabs button:not(.border-transparent)') + return gradioApp().querySelector('#tabs button:not(.border-transparent)') } function get_uiCurrentTabContent() { |