Skip to content

Commit

Permalink
Description of changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Faiz-Nadeem committed Aug 27, 2024
1 parent f0d8a33 commit 7998534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7998534

Please sign in to comment.