about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-09-18 03:57:13 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-09-18 03:57:13 +0200
commitf8b54d229f70cb726511bcd35e1440618e487672 (patch)
tree3671da6f8a294227e58c5382b439e23709809819 /app/views
parent9b32898e3c9e9284baa0792d0d7ee5723c860c4f (diff)
Fix “Toots” tab highlighting for replies and media timelines (#8715)
Diffstat (limited to 'app/views')
-rw-r--r--app/views/accounts/_header.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/_header.html.haml b/app/views/accounts/_header.html.haml
index bfad49b6c..3da270d27 100644
--- a/app/views/accounts/_header.html.haml
+++ b/app/views/accounts/_header.html.haml
@@ -16,7 +16,7 @@
             = fa_icon('lock') if account.locked?
       .public-account-header__tabs__tabs
         .details-counters
-          .counter{ class: active_nav_class(short_account_url(account)) }
+          .counter{ class: active_nav_class(short_account_url(account)) + active_nav_class(short_account_with_replies_url(account)) + active_nav_class(short_account_media_url(account)) }
             = link_to short_account_url(account), class: 'u-url u-uid', title: number_with_delimiter(account.statuses_count) do
               %span.counter-number= number_to_human account.statuses_count, strip_insignificant_zeros: true
               %span.counter-label= t('accounts.posts', count: account.statuses_count)