Remove Build.fullThread, remnant of JSON Navigation.
This commit is contained in:
parent
3d09d80ed0
commit
18d0b0b9e3
@ -163,7 +163,7 @@ Build =
|
|||||||
textContent: Build.summaryText '', posts, files
|
textContent: Build.summaryText '', posts, files
|
||||||
href: "/#{boardID}/thread/#{threadID}"
|
href: "/#{boardID}/thread/#{threadID}"
|
||||||
|
|
||||||
thread: (board, data, full) ->
|
thread: (board, data) ->
|
||||||
Build.spoilerRange[board] = data.custom_spoiler
|
Build.spoilerRange[board] = data.custom_spoiler
|
||||||
|
|
||||||
if OP = board.posts[data.no]
|
if OP = board.posts[data.no]
|
||||||
@ -176,7 +176,7 @@ Build =
|
|||||||
className: 'thread'
|
className: 'thread'
|
||||||
id: "t#{data.no}"
|
id: "t#{data.no}"
|
||||||
|
|
||||||
$.add root, Build[if full then 'fullThread' else 'excerptThread'] board, data, OP
|
$.add root, Build.excerptThread(board, data, OP)
|
||||||
root
|
root
|
||||||
|
|
||||||
excerptThread: (board, data, OP) ->
|
excerptThread: (board, data, OP) ->
|
||||||
@ -190,8 +190,6 @@ Build =
|
|||||||
nodes.push Build.summary board.ID, data.no, posts, files
|
nodes.push Build.summary board.ID, data.no, posts, files
|
||||||
nodes
|
nodes
|
||||||
|
|
||||||
fullThread: (board, data) -> Build.postFromObject data, board.ID
|
|
||||||
|
|
||||||
catalogThread: (thread) ->
|
catalogThread: (thread) ->
|
||||||
{staticPath, gifIcon} = Build
|
{staticPath, gifIcon} = Build
|
||||||
data = Index.liveThreadData[Index.liveThreadIDs.indexOf thread.ID]
|
data = Index.liveThreadData[Index.liveThreadIDs.indexOf thread.ID]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user