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; });