barisusakli 10 years ago
parent e33a905f55
commit b815601649

@ -98,11 +98,11 @@ define('forum/topic/events', [
function onPostEdited(data) { function onPostEdited(data) {
var editedPostEl = components.get('post/content', data.pid), var editedPostEl = components.get('post/content', data.pid),
editedPostHeader = components.get('post/header', data.pid); topicTitle = components.get('topic/title');
if (editedPostHeader.length) { if (topicTitle.length) {
editedPostHeader.fadeOut(250, function() { topicTitle.fadeOut(250, function() {
editedPostHeader.html(data.title).fadeIn(250); topicTitle.html(data.title).fadeIn(250);
}); });
} }

Loading…
Cancel
Save