mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
User: Correctly display the number of videos and notes on the user's page when their list is collapsed
This commit is contained in:
parent
4daa1afea4
commit
2ee7a141c5
1 changed files with 2 additions and 2 deletions
|
@ -256,7 +256,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div n:if="$videosCount > 0 && $user->getPrivacyPermission('videos.read', $thisUser ?? NULL)">
|
||||
<div class="content_title_expanded" onclick="hidePanel(this, {$albumsCount});">
|
||||
<div class="content_title_expanded" onclick="hidePanel(this, {$videosCount});">
|
||||
{_videos}
|
||||
</div>
|
||||
<div>
|
||||
|
@ -282,7 +282,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div n:if="$notesCount > 0 && $user->getPrivacyPermission('notes.read', $thisUser ?? NULL)">
|
||||
<div class="content_title_expanded" onclick="hidePanel(this, {$albumsCount});">
|
||||
<div class="content_title_expanded" onclick="hidePanel(this, {$notesCount});">
|
||||
{_notes}
|
||||
</div>
|
||||
<div>
|
||||
|
|
Loading…
Reference in a new issue