fix somethin lel

This commit is contained in:
Ashley 2022-12-10 11:08:15 +00:00
parent b31c6b3377
commit e41edeb033

View file

@ -465,29 +465,35 @@ text-transform:uppercase;
<div class="tabs tabs-center">
<% if (!tab) { %>
<a href="/channel?id=<%=ID%>" class="tab active">Lastest Videos</a>
<a href="/channel?id=<%=ID%>" class="tab active">Videos</a>
<% if (Array.isArray(c.comments)) { %>
<% if (c.comments.length != "0") { %>
<a href="/channel?id=<%=ID%>&tab=community" class="tab">Community</a>
<% } %>
<% } %>
<a href="/channel?id=<%=ID%>&tab=about" class="tab">About</a>
<% } %>
<% if (tab === "about") { %>
<a href="/channel?id=<%=ID%>" class="tab">Lastest Videos</a>
<a href="/channel?id=<%=ID%>" class="tab">Videos</a>
<% if (Array.isArray(c.comments)) { %>
<% if (c.comments.length != "0") { %>
<a href="/channel?id=<%=ID%>&tab=community" class="tab">Community</a>
<% } %>
<% } %>
<a href="/channel?id=<%=ID%>&tab=about" class="tab active">About</a>
<% } %>
<% if (tab === "community") { %>
<a href="/channel?id=<%=ID%>" class="tab">Lastest Videos</a>
<a href="/channel?id=<%=ID%>" class="tab">Videos</a>
<a href="/channel?id=<%=ID%>&tab=community" class="tab active">Community</a>