update embed script
This commit is contained in:
parent
13884a2bb4
commit
37281c6b14
1 changed files with 3 additions and 1 deletions
4
embed.js
4
embed.js
|
|
@ -5,5 +5,7 @@
|
|||
return
|
||||
}
|
||||
|
||||
document.querySelector('body').classList.add('is-embeded')
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
window.document.querySelector('body').classList.add('is-embeded')
|
||||
})
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue