Commit 993c1154 authored by kurilee's avatar kurilee Committed by GitHub

Merge branch 'AUTOMATIC1111:master' into master

parents b2fc7dba 91ae48fd
......@@ -6,6 +6,7 @@ import time
import git
from modules import paths, shared
from modules.paths_internal import extensions_dir, extensions_builtin_dir
extensions = []
......
......@@ -2,7 +2,7 @@ function gradioApp() {
const elems = document.getElementsByTagName('gradio-app')
const elem = elems.length == 0 ? document : elems[0]
elem.getElementById = function(id){ return document.getElementById(id) }
if (elem !== document) elem.getElementById = function(id){ return document.getElementById(id) }
return elem.shadowRoot ? elem.shadowRoot : elem
}
......
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