Fix OPs being built twice
This commit is contained in:
parent
6ba92efcd4
commit
b4d28414df
@ -3733,9 +3733,8 @@
|
||||
className: 'thread',
|
||||
id: "t" + data.no
|
||||
});
|
||||
$.add(root, Build.postFromObject(data, board.ID));
|
||||
$.add(root, Build[full ? 'fullThread' : 'excerptThread'](board, data, OP));
|
||||
}
|
||||
$.add(root, Build[full ? 'fullThread' : 'excerptThread'](board, data, OP));
|
||||
return root;
|
||||
},
|
||||
excerptThread: function(board, data, OP) {
|
||||
|
||||
@ -3784,9 +3784,8 @@
|
||||
className: 'thread',
|
||||
id: "t" + data.no
|
||||
});
|
||||
$.add(root, Build.postFromObject(data, board.ID));
|
||||
$.add(root, Build[full ? 'fullThread' : 'excerptThread'](board, data, OP));
|
||||
}
|
||||
$.add(root, Build[full ? 'fullThread' : 'excerptThread'](board, data, OP));
|
||||
return root;
|
||||
},
|
||||
excerptThread: function(board, data, OP) {
|
||||
|
||||
@ -219,9 +219,8 @@ Build =
|
||||
root = $.el 'div',
|
||||
className: 'thread'
|
||||
id: "t#{data.no}"
|
||||
$.add root, Build.postFromObject data, board.ID
|
||||
$.add root, Build[if full then 'fullThread' else 'excerptThread'] board, data, OP
|
||||
|
||||
$.add root, Build[if full then 'fullThread' else 'excerptThread'] board, data, OP
|
||||
root
|
||||
|
||||
excerptThread: (board, data, OP) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user