diff options
author | WlodekM <[email protected]> | 2024-11-30 19:21:31 +0200 |
---|---|---|
committer | WlodekM <[email protected]> | 2024-11-30 19:21:31 +0200 |
commit | 307a1e3ece84bdafc4c85464f7847542e2d6b919 (patch) | |
tree | 0c8566533b63888083cdc9d7d8ff3157922fe1b6 /pages/main | |
parent | 9a51a4caf91c455ec5072fa2d50668dd69df5c02 (diff) |
attachments
Diffstat (limited to 'pages/main')
-rw-r--r-- | pages/main/page.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/main/page.js b/pages/main/page.js index ab3cb78..96726a9 100644 --- a/pages/main/page.js +++ b/pages/main/page.js @@ -68,6 +68,9 @@ export function onload() { .child('span') .class('post-content') .text(msg?.content) + .child('div') + .for(msg.attachments, a => html('img').class('attachment').attr('src', a)) + .up() .up() msgArea.appendChild(elem) } |