diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 88fef8ba9..62790a0fc 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -5166,7 +5166,7 @@ fullID = post.fullID; return g.posts.forEach(function(post) { if (__indexOf.call(post.quotes, fullID) >= 0) { - return recursive.apply(null, [post].concat(__slice.call(args))); + return post[recursive].apply(post, args); } }); } diff --git a/builds/crx/script.js b/builds/crx/script.js index e72c841c5..380b34cc3 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -5218,7 +5218,7 @@ fullID = post.fullID; return g.posts.forEach(function(post) { if (__indexOf.call(post.quotes, fullID) >= 0) { - return recursive.apply(null, [post].concat(__slice.call(args))); + return post[recursive].apply(post, args); } }); } diff --git a/src/Filtering/Recursive.coffee b/src/Filtering/Recursive.coffee index 610492554..ac01949df 100755 --- a/src/Filtering/Recursive.coffee +++ b/src/Filtering/Recursive.coffee @@ -30,4 +30,4 @@ Recursive = {fullID} = post g.posts.forEach (post) -> if fullID in post.quotes - recursive post, args... + post[recursive] args...