From 52f7e13a5c2bfb66c93afef9b989636a63cc5079 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 6 Jul 2015 12:39:05 -0400 Subject: [PATCH] closes #3289 --- public/src/client/topic/posts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js index 3548e1bdf1..907f0da1b5 100644 --- a/public/src/client/topic/posts.js +++ b/public/src/client/topic/posts.js @@ -134,6 +134,7 @@ define('forum/topic/posts', [ findInsertionPoint(); data.title = $('
').text(ajaxify.variables.get('topic_name')).html(); + data.slug = ajaxify.variables.get('topic_slug'); data.viewcount = ajaxify.variables.get('viewcount'); infinitescroll.parseAndTranslate('topic', 'posts', data, function(html) { @@ -274,7 +275,7 @@ define('forum/topic/posts', [ function hidePostToolsForDeletedPosts(posts) { posts.each(function() { if ($(this).hasClass('deleted')) { - postTools.toggle($(this).attr('data-pid'), true); + postTools.toggle($(this).attr('data-pid'), true); } }); }