Don't show the "last visit" line after last thread.

This commit is contained in:
Dominik Picheta 2018-05-24 14:52:17 +01:00
commit adeed9b5be

View file

@ -226,7 +226,7 @@ when defined(js):
let (isLastUnseen, isNew) = getInfo(list.threads, i, currentUser)
genThread(thread, isNew,
noBorder=isLastUnseen or isLastThread)
if isLastUnseen:
if isLastUnseen and (not isLastThread):
tr(class="last-visit-separator"):
td(colspan="6"):
span(text "last visit")