1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 09:14:39 -05:00

fix somethin lel

This commit is contained in:
Ashley 2022-12-10 11:08:15 +00:00
parent d16fab17a7
commit 6c11f2746a

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>