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.
|
return a.firstChild # Its text node.
|
||||||
|
|
||||||
if /-expired/.test t
|
if /-expired/.test t
|
||||||
if boardID not in ['b', 'f', 'trash']
|
if boardID not in ['b', 'f', 'trash', 'bant']
|
||||||
a.href = "/#{boardID}/archive"
|
a.href = "/#{boardID}/archive"
|
||||||
else
|
else
|
||||||
return a.firstChild # Its text node.
|
return a.firstChild # Its text node.
|
||||||
|
|||||||
@ -84,7 +84,7 @@ Index =
|
|||||||
@navLinks = $.el 'div', className: 'navLinks json-index'
|
@navLinks = $.el 'div', className: 'navLinks json-index'
|
||||||
$.extend @navLinks, <%= readHTML('NavLinks.html') %>
|
$.extend @navLinks, <%= readHTML('NavLinks.html') %>
|
||||||
$('.cataloglink a', @navLinks).href = CatalogLinks.catalog()
|
$('.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
|
$.on $('#index-last-refresh a', @navLinks), 'click', @cb.refreshFront
|
||||||
|
|
||||||
# Search field
|
# Search field
|
||||||
|
|||||||
@ -61,7 +61,7 @@ ExpandThread =
|
|||||||
1
|
1
|
||||||
else switch g.BOARD.ID
|
else switch g.BOARD.ID
|
||||||
# XXX boards config
|
# XXX boards config
|
||||||
when 'b', 'vg' then 3
|
when 'b', 'vg', 'bant' then 3
|
||||||
when 't' then 1
|
when 't' then 1
|
||||||
else 5
|
else 5
|
||||||
replies = replies[...-num]
|
replies = replies[...-num]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user