summary refs log tree commit diff
path: root/pages/main
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2024-12-01 12:41:14 +0200
committerWlodekM <[email protected]>2024-12-01 12:41:14 +0200
commita0f9849990fafd3c71160e17593719acd5a13d76 (patch)
treebe275da31e76b8e344ee671a8a5b2e9ee9d6fe26 /pages/main
parent1adf25f6f2ede3d95b0f6ff9e6cfca9ab5de6c88 (diff)
use target _blank on attachment links
Diffstat (limited to 'pages/main')
-rw-r--r--pages/main/page.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/main/page.js b/pages/main/page.js
index e70ce7c..447e5cf 100644
--- a/pages/main/page.js
+++ b/pages/main/page.js
@@ -128,6 +128,7 @@ export async function onload() {
                                         .up()
                             } else {
                                 return html('a')
+                                    .attr('target', '_blank')
                                     .txt(`Attachment ${i + 1} (${a})`)
                                     .attr('href', a)
                             }