mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-14 22:53:25 +03:00
No code repeat
This commit is contained in:
parent
8eb638cdd3
commit
37139d8aac
@ -1,5 +1,6 @@
|
||||
function gradioApp(){
|
||||
return !!document.getElementsByTagName('gradio-app')[0].shadowRoot ? document.getElementsByTagName('gradio-app')[0].shadowRoot : document;
|
||||
function gradioApp() {
|
||||
const gradioShadowRoot = document.getElementsByTagName('gradio-app')[0].shadowRoot
|
||||
return !!gradioShadowRoot ? gradioShadowRoot : document;
|
||||
}
|
||||
|
||||
function get_uiCurrentTab() {
|
||||
|
Loading…
Reference in New Issue
Block a user