is clickable in this case
- registerClickDelegate(elementKey, onClickOrKeydown)
+ registerClickDelegate(elementKey, (e) => this.onClickOrKeydown(e))
}
},
ondestroy() {
@@ -164,6 +164,11 @@
ariaLabel: (originalAccount, visibility) => {
return (visibility === 'direct' ? 'Direct message' : 'Status') +
` by ${originalAccount.display_name || originalAccount.username}`
+ },
+ showHeader: (notification, status, timelineType) => {
+ return (notification && (notification.type === 'reblog' || notification.type === 'favourite'))
+ || status.reblog
+ || timelineType === 'pinned'
}
}
}
diff --git a/routes/_components/status/StatusSpoiler.html b/routes/_components/status/StatusSpoiler.html
index 6fe6f321..f84a4c1d 100644
--- a/routes/_components/status/StatusSpoiler.html
+++ b/routes/_components/status/StatusSpoiler.html
@@ -2,7 +2,7 @@
{{status.spoiler_text}}
-
@@ -40,11 +40,20 @@