From 691802efadcc0dcdb249649b02f777f34171e1aa Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 24 Mar 2016 22:22:27 +0200 Subject: [PATCH] removed params --- public/src/client/topic/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js index ff8017e109..1020edbf27 100644 --- a/public/src/client/topic/posts.js +++ b/public/src/client/topic/posts.js @@ -148,7 +148,7 @@ define('forum/topic/posts', [ app.parseAndTranslate('topic', 'posts', data, function(html) { - html = html.filter(function(index, el) { + html = html.filter(function() { var pid = $(this).attr('data-pid'); return pid && $('[component="post"][data-pid="' + pid + '"]').length === 0; });