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 <a
class={`name-text ${short ? 'short' : ''}`} class={`name-text ${short ? 'short' : ''}`}
href={url} href={url}
// target="_blank" target={external ? '_blank' : null}
title={`@${acct}`} title={`@${acct}`}
onClick={(e) => { onClick={(e) => {
if (external) return; if (external) return;