1
0
Fork 0

Sometimes external, sometimes not.

This commit is contained in:
Lim Chee Aun 2022-12-15 19:45:25 +08:00
parent 332dd30c1d
commit f5da383ef3

View file

@ -15,7 +15,7 @@ export default ({ account, showAvatar, showAcct, short, external }) => {
<a
class={`name-text ${short ? 'short' : ''}`}
href={url}
// target="_blank"
target={external ? '_blank' : null}
title={`@${acct}`}
onClick={(e) => {
if (external) return;