fix if condition logic

master
Aevann 2023-10-12 22:58:22 +03:00
parent 4d999751d1
commit 78237167e3
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
<div id="username" class="d-none">{{u.username}}</div>
{% endif %}
<script defer src="{{'js/userpage.js' | asset}}"></script>
{% if (not (IS_FISTMAS() or IS_DKD()) or SITE_NAME == 'WPD') and can_see(v, u) %}
{% if can_see(v, u) and u.song %}
<script defer src="{{'js/profile_song.js' | asset}}"></script>
{% endif %}
{% endblock %}