fix a goofy ahh issue

This commit is contained in:
Ashley 2023-03-21 19:31:04 +00:00
parent 9193d38924
commit 4ee05190fe

View file

@ -632,12 +632,16 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=<
<% } %> <% } %>
<% if (Array.isArray(stream.videos)) { %> <% if (Array.isArray(stream.videos)) { %>
<% if (stream.videos[0]) { %>
<% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %>
<a href="/channel?id=<%=ID%>&tab=live" class="tab">Live</a> <a href="/channel?id=<%=ID%>&tab=live" class="tab">Live</a>
<% } %> <% } %>
<% } %> <% } %>
<% } %>
<a href="/channel?id=<%=ID%>&tab=community" class="tab active">Community</a> <a href="/channel?id=<%=ID%>&tab=community" class="tab active">Community</a>
<a href="/channel?id=<%=ID%>&tab=about" class="tab">About</a> <a href="/channel?id=<%=ID%>&tab=about" class="tab">About</a>