diff options
author | Meisam <39205857+MFTabriz@users.noreply.github.com> | 2022-12-15 17:04:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 17:04:52 +0100 |
commit | 059d64a59ea27c40ca6b5b9bf34487169d2a741f (patch) | |
tree | b24868ca2794df5a288d4d9bf097dc54b653c5af /app/javascript | |
parent | 673c54f114be78e0588f2bb883f2962dbc7574a7 (diff) |
set activation for tag follow button (#21629)
Co-authored-by: meisam <meisam@noreply.codeberg.org>
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/hashtag_timeline/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/hashtag_timeline/index.js b/app/javascript/mastodon/features/hashtag_timeline/index.js index b635c3529..733f54ff3 100644 --- a/app/javascript/mastodon/features/hashtag_timeline/index.js +++ b/app/javascript/mastodon/features/hashtag_timeline/index.js @@ -194,7 +194,7 @@ class HashtagTimeline extends React.PureComponent { const following = tag.get('following'); followButton = ( - <button className={classNames('column-header__button')} onClick={this.handleFollow} disabled={!signedIn} title={intl.formatMessage(following ? messages.unfollowHashtag : messages.followHashtag)} aria-label={intl.formatMessage(following ? messages.unfollowHashtag : messages.followHashtag)}> + <button className={classNames('column-header__button')} onClick={this.handleFollow} disabled={!signedIn} active={following} title={intl.formatMessage(following ? messages.unfollowHashtag : messages.followHashtag)} aria-label={intl.formatMessage(following ? messages.unfollowHashtag : messages.followHashtag)}> <Icon id={following ? 'user-times' : 'user-plus'} fixedWidth className='column-header__icon' /> </button> ); |