board.config should always be an object.
This commit is contained in:
parent
a28dc87956
commit
e5451a21fc
@ -4,6 +4,6 @@ class Board
|
|||||||
constructor: (@ID) ->
|
constructor: (@ID) ->
|
||||||
@threads = new SimpleDict()
|
@threads = new SimpleDict()
|
||||||
@posts = new SimpleDict()
|
@posts = new SimpleDict()
|
||||||
@config = BoardConfig.boards?[@ID]
|
@config = BoardConfig.boards?[@ID] or {}
|
||||||
|
|
||||||
g.boards[@] = @
|
g.boards[@] = @
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user