From 18d0b0b9e3e67dc116841a9819cee6656fb501d4 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 28 Apr 2016 07:13:50 -0700 Subject: [PATCH] Remove Build.fullThread, remnant of JSON Navigation. --- src/General/Build.coffee | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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]