diff --git a/src/General/Build.coffee b/src/General/Build.coffee index 901afa25c..5a18e8a19 100644 --- a/src/General/Build.coffee +++ b/src/General/Build.coffee @@ -163,7 +163,7 @@ Build = textContent: Build.summaryText '', posts, files href: "/#{boardID}/thread/#{threadID}" - thread: (board, data, full) -> + thread: (board, data) -> Build.spoilerRange[board] = data.custom_spoiler if OP = board.posts[data.no] @@ -176,7 +176,7 @@ Build = className: 'thread' id: "t#{data.no}" - $.add root, Build[if full then 'fullThread' else 'excerptThread'] board, data, OP + $.add root, Build.excerptThread(board, data, OP) root excerptThread: (board, data, OP) -> @@ -190,8 +190,6 @@ Build = nodes.push Build.summary board.ID, data.no, posts, files nodes - fullThread: (board, data) -> Build.postFromObject data, board.ID - catalogThread: (thread) -> {staticPath, gifIcon} = Build data = Index.liveThreadData[Index.liveThreadIDs.indexOf thread.ID]