hide chat icon on rdrama unless 10 ppl or more are in chat

pull/26/head
Aevann 2022-11-28 00:48:54 +02:00
parent 9b50ab7219
commit a0240f2ca6
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
</a>
</button>
{% if v %}
{% if FEATURES['CHAT'] -%}
{% if FEATURES['CHAT'] and (SITE_NAME != 'rDrama' or cache.get(ONLINE_STR) >= 10) -%}
<button type="button" class="col px-0 btn btn-dead m-0 pt-0" style="background: None !important; border: None;">
<a href="/chat" class="text-decoration-none">
<div class="text-center {% if request.path=='/chat' %}text-primary{% else %}text-muted{% endif %}">