Don't try to initialize features on nonexistent pages.
This commit is contained in:
parent
3f8ff45a54
commit
19ed662208
@ -20,6 +20,8 @@ Main =
|
|||||||
'archive'
|
'archive'
|
||||||
else
|
else
|
||||||
'index'
|
'index'
|
||||||
|
return if g.VIEW is 'catalog' and g.BOARD.ID is 'f'
|
||||||
|
return if g.VIEW is 'archive' and g.BOARD.ID in ['b', 'f']
|
||||||
if g.VIEW is 'thread'
|
if g.VIEW is 'thread'
|
||||||
g.THREADID = +pathname[3]
|
g.THREADID = +pathname[3]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user