v1.18.x
barisusakli
parent e355c8cb1b
commit 52f7e13a5c

@ -134,6 +134,7 @@ define('forum/topic/posts', [
findInsertionPoint(); findInsertionPoint();
data.title = $('<div></div>').text(ajaxify.variables.get('topic_name')).html(); data.title = $('<div></div>').text(ajaxify.variables.get('topic_name')).html();
data.slug = ajaxify.variables.get('topic_slug');
data.viewcount = ajaxify.variables.get('viewcount'); data.viewcount = ajaxify.variables.get('viewcount');
infinitescroll.parseAndTranslate('topic', 'posts', data, function(html) { infinitescroll.parseAndTranslate('topic', 'posts', data, function(html) {
@ -274,7 +275,7 @@ define('forum/topic/posts', [
function hidePostToolsForDeletedPosts(posts) { function hidePostToolsForDeletedPosts(posts) {
posts.each(function() { posts.each(function() {
if ($(this).hasClass('deleted')) { if ($(this).hasClass('deleted')) {
postTools.toggle($(this).attr('data-pid'), true); postTools.toggle($(this).attr('data-pid'), true);
} }
}); });
} }

Loading…
Cancel
Save