mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-05 11:19:14 +02:00
Merge pull request #2675 from MegaGM/actionposts.edited
Added data argument to action:posts.edited hook
This commit is contained in:
@@ -111,7 +111,7 @@ define('forum/topic/events', [
|
||||
app.replaceSelfLinks(editedPostEl.find('a'));
|
||||
editedPostEl.fadeIn(250);
|
||||
|
||||
$(window).trigger('action:posts.edited');
|
||||
$(window).trigger('action:posts.edited', data);
|
||||
});
|
||||
|
||||
if (data.tags && tagsUpdated(data.tags)) {
|
||||
|
||||
Reference in New Issue
Block a user