Fix Recursive hiding
This commit is contained in:
parent
435b8d91e5
commit
865c5331ba
@ -5166,7 +5166,7 @@
|
|||||||
fullID = post.fullID;
|
fullID = post.fullID;
|
||||||
return g.posts.forEach(function(post) {
|
return g.posts.forEach(function(post) {
|
||||||
if (__indexOf.call(post.quotes, fullID) >= 0) {
|
if (__indexOf.call(post.quotes, fullID) >= 0) {
|
||||||
return recursive.apply(null, [post].concat(__slice.call(args)));
|
return post[recursive].apply(post, args);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5218,7 +5218,7 @@
|
|||||||
fullID = post.fullID;
|
fullID = post.fullID;
|
||||||
return g.posts.forEach(function(post) {
|
return g.posts.forEach(function(post) {
|
||||||
if (__indexOf.call(post.quotes, fullID) >= 0) {
|
if (__indexOf.call(post.quotes, fullID) >= 0) {
|
||||||
return recursive.apply(null, [post].concat(__slice.call(args)));
|
return post[recursive].apply(post, args);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,4 +30,4 @@ Recursive =
|
|||||||
{fullID} = post
|
{fullID} = post
|
||||||
g.posts.forEach (post) ->
|
g.posts.forEach (post) ->
|
||||||
if fullID in post.quotes
|
if fullID in post.quotes
|
||||||
recursive post, args...
|
post[recursive] args...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user