Skip to content

Commit

Permalink
remove active class addition when too many subscriptions (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-five256 authored Oct 30, 2023
1 parent 207b064 commit 9b0ec48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/layout/sidebar_subscriptions.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>
{% endfor %}
{% if tooManyMagazines %}
<div class="subscription {{ openMagazine and openMagazine.name is same as magazine.name ? 'active' : '' }}">
<div class="subscription">
<a href="/u/{{ app.user.username }}/subscriptions">
<button class="btn btn__secondary">
{{ 'show_more'|trans }}
Expand All @@ -27,4 +27,4 @@
</div>
{% endif %}
</div>
</div>
</div>

0 comments on commit 9b0ec48

Please sign in to comment.