mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-17 17:10:40 +02:00
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user