about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew <andrewLchronister@gmail.com>2018-09-14 15:13:02 -0700
committerchr <chr@cybre.space>2021-03-01 21:36:31 -0800
commitfff295dafbf6efd1c341c47e3c17d4c3c696de45 (patch)
tree1850fbfc2ae785aba53e00c6312cc87d2f220d92
parent633d175146d6acaf2cc4bfbfcfdee4c85ef20ed1 (diff)
Remove reply counts on non-expanded view
-rw-r--r--app/javascript/mastodon/components/status_action_bar.js2
-rw-r--r--app/views/statuses/_simple_status.html.haml1
2 files changed, 1 insertions, 2 deletions
diff --git a/app/javascript/mastodon/components/status_action_bar.js b/app/javascript/mastodon/components/status_action_bar.js
index 66b5a17ac..b646a0ee0 100644
--- a/app/javascript/mastodon/components/status_action_bar.js
+++ b/app/javascript/mastodon/components/status_action_bar.js
@@ -319,7 +319,7 @@ class StatusActionBar extends ImmutablePureComponent {
 
     return (
       <div className='status__action-bar'>
-        <IconButton className='status__action-bar-button' title={replyTitle} icon={status.get('in_reply_to_account_id') === status.getIn(['account', 'id']) ? 'reply' : replyIcon} onClick={this.handleReplyClick} counter={status.get('replies_count')} obfuscateCount />
+        <IconButton className='status__action-bar-button' title={replyTitle} icon={status.get('in_reply_to_account_id') === status.getIn(['account', 'id']) ? 'reply' : replyIcon} onClick={this.handleReplyClick} />
         <IconButton className={classNames('status__action-bar-button', { reblogPrivate })} disabled={!publicStatus && !reblogPrivate}  active={status.get('reblogged')} pressed={status.get('reblogged')} title={reblogTitle} icon='retweet' onClick={this.handleReblogClick} />
         <IconButton className='status__action-bar-button star-icon' animate active={status.get('favourited')} pressed={status.get('favourited')} title={intl.formatMessage(messages.favourite)} icon='star' onClick={this.handleFavouriteClick} />
 
diff --git a/app/views/statuses/_simple_status.html.haml b/app/views/statuses/_simple_status.html.haml
index 236948a84..545470828 100644
--- a/app/views/statuses/_simple_status.html.haml
+++ b/app/views/statuses/_simple_status.html.haml
@@ -60,7 +60,6 @@
         = fa_icon 'reply fw'
       - else
         = fa_icon 'reply-all fw'
-      %span.icon-button__counter= obscured_counter status.replies_count
     = link_to remote_interaction_path(status, type: :reblog), class: 'status__action-bar-button icon-button modal-button' do
       - if status.distributable?
         = fa_icon 'retweet fw'