diff --git a/script.js b/script.js index d1fe25fbed8..fbbe9421adf 100644 --- a/script.js +++ b/script.js @@ -3,7 +3,7 @@ function gradioApp() { const elems = document.getElementsByTagName('gradio-app'); const elem = elems.length === 0 ? document : elems[0]; -// Override getElementById to ensure compatibility with shadow DOM + // Override getElementById to ensure compatibility with shadow DOM if (elem !== document) { elem.getElementById = function(id) { return document.getElementById(id);