mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 12:19:10 +02:00
closes #3692
This commit is contained in:
@@ -99,7 +99,8 @@ define('forum/topic/events', [
|
||||
}
|
||||
var editedPostEl = components.get('post/content', data.post.pid),
|
||||
editorEl = $('[data-pid="' + data.post.pid + '"] [component="post/editor"]'),
|
||||
topicTitle = components.get('topic/title');
|
||||
topicTitle = components.get('topic/title'),
|
||||
breadCrumb = components.get('breadcrumb/current');
|
||||
|
||||
if (topicTitle.length && data.topic.title) {
|
||||
var newUrl = 'topic/' + data.topic.slug + (window.location.search ? window.location.search : '');
|
||||
@@ -108,6 +109,9 @@ define('forum/topic/events', [
|
||||
topicTitle.fadeOut(250, function() {
|
||||
topicTitle.html(data.topic.title).fadeIn(250);
|
||||
});
|
||||
breadCrumb.fadeOut(250, function() {
|
||||
breadCrumb.html(data.topic.title).fadeIn(250);
|
||||
});
|
||||
}
|
||||
|
||||
editedPostEl.fadeOut(250, function() {
|
||||
|
||||
@@ -134,8 +134,7 @@ topicsController.get = function(req, res, callback) {
|
||||
url: nconf.get('relative_path') + '/category/' + topicData.category.slug
|
||||
},
|
||||
{
|
||||
text: topicData.title,
|
||||
url: nconf.get('relative_path') + '/topic/' + topicData.slug
|
||||
text: topicData.title
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user