fix: trigger action:posts.edited

This commit is contained in:
Barış Soner Uşaklı
2020-12-17 20:30:13 -05:00
parent 6d01fd5028
commit b7b588f5c8

View File

@@ -145,6 +145,8 @@ define('forum/topic/events', [
$(window).trigger('action:posts.edited', data); $(window).trigger('action:posts.edited', data);
}); });
}); });
} else {
$(window).trigger('action:posts.edited', data);
} }
if (data.topic.tags && tagsUpdated(data.topic.tags)) { if (data.topic.tags && tagsUpdated(data.topic.tags)) {