]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Make clicking on avatar open public profile in new tab
authorAditoo17 <42938951+Aditoo17@users.noreply.github.com>
Tue, 26 Mar 2019 16:33:07 +0000 (17:33 +0100)
committerThibG <thib@sitedethib.com>
Thu, 28 Mar 2019 18:56:40 +0000 (19:56 +0100)
Port 6f6abc369f113b174fe191cf562098fe01c2eeec to glitch-soc

app/javascript/flavours/glitch/features/account/components/header.js

index 1f1898661677d63ab2787d4c0ab8eaebc3b5164a..fa36e70b59ff26935d98dc7266300c75498714c4 100644 (file)
@@ -205,7 +205,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>