Make avatar in compose navbar hover-to-play

master
Ondřej Hruška 7 years ago
parent 8e2b1f79e4
commit 667b567606
  1. 2
      app/javascript/mastodon/features/compose/components/navigation_bar.js

@ -15,7 +15,7 @@ export default class NavigationBar extends ImmutablePureComponent {
return ( return (
<div className='navigation-bar'> <div className='navigation-bar'>
<Permalink href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}> <Permalink href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}>
<Avatar src={this.props.account.get('avatar')} animate size={40} /> <Avatar src={this.props.account.get('avatar')} staticSrc={this.props.account.get('avatar_static')} size={40} />
</Permalink> </Permalink>
<div className='navigation-bar__profile'> <div className='navigation-bar__profile'>

Loading…
Cancel
Save