mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-22 20:32:28 +01:00
closes #3289
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user