Minor fixes for new board /bant/.

This commit is contained in:
ccd0 2017-05-13 14:24:47 -07:00
parent 711750749f
commit 3b1bc9fcbc
3 changed files with 3 additions and 3 deletions

View File

@ -270,7 +270,7 @@ Header =
return a.firstChild # Its text node.
if /-expired/.test t
if boardID not in ['b', 'f', 'trash']
if boardID not in ['b', 'f', 'trash', 'bant']
a.href = "/#{boardID}/archive"
else
return a.firstChild # Its text node.

View File

@ -84,7 +84,7 @@ Index =
@navLinks = $.el 'div', className: 'navLinks json-index'
$.extend @navLinks, <%= readHTML('NavLinks.html') %>
$('.cataloglink a', @navLinks).href = CatalogLinks.catalog()
$('.archlistlink', @navLinks).hidden = true if g.BOARD.ID in ['b', 'trash']
$('.archlistlink', @navLinks).hidden = true if g.BOARD.ID in ['b', 'trash', 'bant']
$.on $('#index-last-refresh a', @navLinks), 'click', @cb.refreshFront
# Search field

View File

@ -61,7 +61,7 @@ ExpandThread =
1
else switch g.BOARD.ID
# XXX boards config
when 'b', 'vg' then 3
when 'b', 'vg', 'bant' then 3
when 't' then 1
else 5
replies = replies[...-num]