Browse Source

Avatar in the detail column no longer autoplays

closed-social-glitch-2
Ondřej Hruška 7 years ago
committed by beatrix
parent
commit
345290a905
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/account/components/header.js

+ 1
- 1
app/javascript/mastodon/features/account/components/header.js View File

@ -73,7 +73,7 @@ export default class Header extends ImmutablePureComponent {
<div className='account__header' style={{ backgroundImage: `url(${account.get('header')})` }}> <div className='account__header' style={{ backgroundImage: `url(${account.get('header')})` }}>
<div> <div>
<a href={account.get('url')} target='_blank' rel='noopener'> <a href={account.get('url')} target='_blank' rel='noopener'>
<span className='account__header__avatar'><Avatar src={account.get('avatar')} animate size={90} /></span>
<span className='account__header__avatar'><Avatar src={account.get('avatar')} staticSrc={account.get('avatar_static')} size={90} /></span>
<span className='account__header__display-name' dangerouslySetInnerHTML={displayNameHTML} /> <span className='account__header__display-name' dangerouslySetInnerHTML={displayNameHTML} />
</a> </a>
<span className='account__header__username'>@{account.get('acct')} {lockedIcon}</span> <span className='account__header__username'>@{account.get('acct')} {lockedIcon}</span>

Loading…
Cancel
Save