mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 07:31:38 +01:00
Set a _blank target to the In Reply links. Fix hydrogen-sailfishos/sfos-hydrogen#14
Signed-off-by: Vlad G. <b100dian@gmail.com>
This commit is contained in:
parent
62332fe6a1
commit
f21867d89c
@ -31,8 +31,8 @@ export class ReplyPreviewView extends TemplateView {
|
|||||||
return t.div(
|
return t.div(
|
||||||
{ className: "ReplyPreviewView" },
|
{ className: "ReplyPreviewView" },
|
||||||
t.blockquote([
|
t.blockquote([
|
||||||
t.a({ className: "link", href: vm.permaLink }, "In reply to"),
|
t.a({ className: "link", target: "_blank", href: vm.permaLink }, "In reply to"),
|
||||||
t.a({ className: "pill", href: vm.senderProfileLink }, [
|
t.a({ className: "pill", target: "_blank", href: vm.senderProfileLink }, [
|
||||||
renderStaticAvatar(vm, 12, undefined, true),
|
renderStaticAvatar(vm, 12, undefined, true),
|
||||||
vm.displayName,
|
vm.displayName,
|
||||||
]),
|
]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user