Merge pull request #1158 from hydrogen-sailfishos/target/blank

Set a _blank target to the In Reply links.
This commit is contained in:
R Midhun Suresh 2024-10-21 16:17:29 +05:30 committed by GitHub
commit 3817b940af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
]),