mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 04:11:15 -08:00
Fix WebUI not working inside of iframes
This commit is contained in:
parent
44c46f0ed3
commit
2eb5f103ab
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
function gradioApp(){
|
||||
return document.getElementsByTagName('gradio-app')[0].shadowRoot;
|
||||
return document
|
||||
}
|
||||
|
||||
function get_uiCurrentTab() {
|
||||
|
|
@ -82,4 +82,4 @@ function uiElementIsVisible(el) {
|
|||
}
|
||||
}
|
||||
return isVisible;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue