mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
closes #3289
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user