about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/account/components/header.js
diff options
context:
space:
mode:
authorAditoo17 <42938951+Aditoo17@users.noreply.github.com>2019-03-26 17:33:07 +0100
committerThibG <thib@sitedethib.com>2019-03-28 19:56:40 +0100
commit37ad0478ef5348b979895de276e6a36a2ed5bb9e (patch)
tree5c326f57992d097f0a48002d8e3eafd54fd9e8b4 /app/javascript/flavours/glitch/features/account/components/header.js
parentcf3f063e106ccf23b255310112fc0944ae885aa1 (diff)
[Glitch] Make clicking on avatar open public profile in new tab
Port 6f6abc369f113b174fe191cf562098fe01c2eeec to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/features/account/components/header.js')
-rw-r--r--app/javascript/flavours/glitch/features/account/components/header.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js
index 1f1898661..fa36e70b5 100644
--- a/app/javascript/flavours/glitch/features/account/components/header.js
+++ b/app/javascript/flavours/glitch/features/account/components/header.js
@@ -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>