Unverified Commit 2eb5f103 authored by apolinario's avatar apolinario Committed by GitHub

Fix WebUI not working inside of iframes

parent 44c46f0e
function gradioApp(){ function gradioApp(){
return document.getElementsByTagName('gradio-app')[0].shadowRoot; return document
} }
function get_uiCurrentTab() { function get_uiCurrentTab() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment