slight optimization

This commit is contained in:
biglyderv 2025-03-03 11:34:52 -05:00
parent 6ef218055e
commit e8c703bf99
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5

View file

@ -23,7 +23,7 @@
</a>
<% } else if (contentN[0] == 'link') { %>
<a class='link' href='<%= contentN[1] %>'><%= contentN[1] %></a>
<% } else if (contentN[0].replaceAll(' ','').length > 0) { %>
<% } else if (contentN[0][0] != ' ') { %>
<span class='commentbox'><%= contentN[0] %></span>
<% } } %>
</div>