Skip to content

Commit

Permalink
Set a _blank target to the In Reply links. Fix hydrogen-sailfishos/ha…
Browse files Browse the repository at this point in the history
…rbour-hydrogen#14

Signed-off-by: Vlad G. <[email protected]>
  • Loading branch information
Patrick Hervieux authored and b100dian committed Aug 25, 2024
1 parent 62332fe commit f21867d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/web/ui/session/room/timeline/ReplyPreviewView.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export class ReplyPreviewView extends TemplateView {
return t.div(
{ className: "ReplyPreviewView" },
t.blockquote([
t.a({ className: "link", href: vm.permaLink }, "In reply to"),
t.a({ className: "pill", href: vm.senderProfileLink }, [
t.a({ className: "link", target: "_blank", href: vm.permaLink }, "In reply to"),
t.a({ className: "pill", target: "_blank", href: vm.senderProfileLink }, [
renderStaticAvatar(vm, 12, undefined, true),
vm.displayName,
]),
Expand Down

0 comments on commit f21867d

Please sign in to comment.