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
  • Loading branch information
Patrick Hervieux committed Nov 20, 2023
1 parent f6a0877 commit f0cfa66
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 f0cfa66

Please sign in to comment.