update embed script
This commit is contained in:
parent
f0177ca596
commit
071a44ab05
1 changed files with 4 additions and 0 deletions
4
embed.js
4
embed.js
|
|
@ -7,5 +7,9 @@
|
|||
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
window.document.querySelector('body').classList.add('is-embeded')
|
||||
|
||||
window.document.querySelectorAll('.file-header a').forEach(function(a) {
|
||||
a.setAttribute('target', '_blank')
|
||||
})
|
||||
})
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue