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 86d5394 commit f0d8a33
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

Check failure on line 6 in script.js

View workflow job for this annotation

GitHub Actions / eslint

Expected indentation of 4 spaces but found 0
if (elem !== document) {
elem.getElementById = function(id) {
return document.getElementById(id);
Expand Down

0 comments on commit f0d8a33

Please sign in to comment.