From 071a44ab0501e82568504450dbf6be6a70654391 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 21 May 2023 17:05:16 +0200 Subject: [PATCH] update embed script --- embed.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/embed.js b/embed.js index a954d61..60bf823 100644 --- a/embed.js +++ b/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') + }) }) })();