forked from rDrama/rDrama
1
0
Fork 0

fix "toggle anthem" button on ur own profile

master
Aevann1 2022-11-20 00:44:10 +02:00
parent aa205652fe
commit e0badfef00
1 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@
{% endif %} {% endif %}
{% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %} {% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
<button type="button" class="btn btn-secondary" onclick="toggle()">Toggle anthem</button> <button type="button" class="btn btn-secondary" onclick="toggle()" {% if v.id == u.id %}style="margin-bottom:0!important"{% endif %}>Toggle anthem</button>
{% endif %} {% endif %}
</div> </div>
@ -393,7 +393,7 @@
{% endif %} {% endif %}
{% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %} {% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
<button type="button" class="btn btn-secondary" onclick="toggle()">Toggle anthem</button> <button type="button" class="btn btn-secondary" onclick="toggle()" {% if v.id == u.id %}style="margin-bottom:0!important"{% endif %}>Toggle anthem</button>
{% endif %} {% endif %}
{% if v and v.id != u.id %} {% if v and v.id != u.id %}