Remove Build.fullThread, remnant of JSON Navigation.

This commit is contained in:
ccd0 2016-04-28 07:13:50 -07:00
parent 3d09d80ed0
commit 18d0b0b9e3

View File

@ -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]