Skip to content

Node.js based forum software built for the modern web

https://github.com/NodeBB/nodebb-theme-persona/issues/59

barisusaklib8156016497e
diff --git a/public/src/client/topic/events.js b/public/src/client/topic/events.js
index eb64299dde..77690dc9d9 100644
--- a/public/src/client/topic/events.js
+++ b/public/src/client/topic/events.js
@@ -98,11 +98,11 @@ define('forum/topic/events', [
function onPostEdited(data) {
var editedPostEl = components.get('post/content', data.pid),
- editedPostHeader = components.get('post/header', data.pid);
+ topicTitle = components.get('topic/title');
- if (editedPostHeader.length) {
- editedPostHeader.fadeOut(250, function() {
- editedPostHeader.html(data.title).fadeIn(250);
+ if (topicTitle.length) {
+ topicTitle.fadeOut(250, function() {
+ topicTitle.html(data.title).fadeIn(250);
});
}