aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/features/messages.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index 6a73ad0..9336f7c 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -1311,7 +1311,9 @@ export function messagesFeature(ctx) {
// row tap even if propagation quirks let the click reach us
onClick: open ? (e) => { if (e.target && e.target.closest && e.target.closest('button')) return; openNoteThread(ev); } : undefined,
},
- avatar(pk, 'chat-avatar', false),
+ // the avatar is its own tap-target (profile), even inside an openable
+ // row — its handler stops propagation, so the row still opens the thread
+ avatar(pk),
h('div', { class: 'col grow', style: 'min-width:0;gap:3px' },
h('div', { class: 'row between', style: 'align-items:center;gap:8px' },
h('div', { class: 'row', style: 'gap:7px;align-items:baseline;min-width:0' },