Skip to content

Commit

Permalink
Merge pull request #1158 from hydrogen-sailfishos/target/blank
Browse files Browse the repository at this point in the history
Set a _blank target to the In Reply links.
  • Loading branch information
MidhunSureshR authored Oct 21, 2024
2 parents 49263a7 + f21867d commit 3817b94
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 3817b94

Please sign in to comment.