Minor fixes for new board /bant/.
This commit is contained in:
parent
711750749f
commit
3b1bc9fcbc
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user