]> cat aescling's git repositories - mastodon.git/commitdiff
Make clicking on avatar open public profile in new tab (#10387)
authorAditoo17 <42938951+Aditoo17@users.noreply.github.com>
Tue, 26 Mar 2019 16:33:07 +0000 (17:33 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 26 Mar 2019 16:33:07 +0000 (17:33 +0100)
app/javascript/mastodon/features/account/components/header.js

index 41e3945854081c38d1154dad705a124da31a9cbd..fd7ad5e07d1a6334306c613ca1930bec14cc19f1 100644 (file)
@@ -212,7 +212,7 @@ class Header extends ImmutablePureComponent {
 
         <div className='account__header__bar'>
           <div className='account__header__tabs'>
-            <a className='avatar' href={account.get('url')}>
+            <a className='avatar' href={account.get('url')} target='_blank'>
               <Avatar account={account} size={90} />
             </a>