Skip to content

Node.js based forum software built for the modern web

closes #3289

barisusakli52f7e13a5c2b
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 = $('<div></div>').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);
}
});
}