diff options
author | apolinario <joaopaulo.passos@gmail.com> | 2022-12-05 15:30:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 15:30:15 +0000 |
commit | 2eb5f103ab1b41477440cc391165ea7ef5f7f959 (patch) | |
tree | 599e73f28fe483d214844cc532d188c3c0ee6555 | |
parent | 44c46f0ed395967cd3830dd481a2db759fda5b3b (diff) | |
download | stable-diffusion-webui-gfx803-2eb5f103ab1b41477440cc391165ea7ef5f7f959.tar.gz stable-diffusion-webui-gfx803-2eb5f103ab1b41477440cc391165ea7ef5f7f959.tar.bz2 stable-diffusion-webui-gfx803-2eb5f103ab1b41477440cc391165ea7ef5f7f959.zip |
Fix WebUI not working inside of iframes
-rw-r--r-- | script.js | 4 |
1 files changed, 2 insertions, 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; -}
\ No newline at end of file +} |