Why bother assigning variables to do nothing with them?
This commit is contained in:
parent
80dd30def0
commit
420a5ad432
@ -4981,11 +4981,11 @@
|
||||
nodeinsert: function(force) {
|
||||
var bottom, height, post, posts, root, threadContainer, top, _ref;
|
||||
post = g.posts[this.threaded];
|
||||
posts = Unread.posts;
|
||||
root = post.nodes.root;
|
||||
if (this.thread.OP === post) {
|
||||
return false;
|
||||
}
|
||||
posts = Unread.posts;
|
||||
root = post.nodes.root;
|
||||
if (!force) {
|
||||
height = doc.clientHeight;
|
||||
_ref = root.getBoundingClientRect(), bottom = _ref.bottom, top = _ref.top;
|
||||
|
||||
@ -4984,11 +4984,11 @@
|
||||
nodeinsert: function(force) {
|
||||
var bottom, height, post, posts, root, threadContainer, top, _ref;
|
||||
post = g.posts[this.threaded];
|
||||
posts = Unread.posts;
|
||||
root = post.nodes.root;
|
||||
if (this.thread.OP === post) {
|
||||
return false;
|
||||
}
|
||||
posts = Unread.posts;
|
||||
root = post.nodes.root;
|
||||
if (!force) {
|
||||
height = doc.clientHeight;
|
||||
_ref = root.getBoundingClientRect(), bottom = _ref.bottom, top = _ref.top;
|
||||
|
||||
@ -49,12 +49,13 @@ QuoteThreading =
|
||||
@cb = QuoteThreading.nodeinsert
|
||||
|
||||
nodeinsert: (force) ->
|
||||
post = g.posts[@threaded]
|
||||
{posts} = Unread
|
||||
{root} = post.nodes
|
||||
post = g.posts[@threaded]
|
||||
|
||||
return false if @thread.OP is post
|
||||
|
||||
{posts} = Unread
|
||||
{root} = post.nodes
|
||||
|
||||
unless force
|
||||
height = doc.clientHeight
|
||||
{bottom, top} = root.getBoundingClientRect()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user