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