FIX: Attach to the post so widgets can extend it better

This commit is contained in:
Robin Ward 2018-02-15 16:44:44 -05:00
parent 30dc14de7d
commit 70b417272a
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export default {
});
});
api.attachWidgetAction('post-admin-menu', 'showStaffNotes', widgetShowStaffNotes);
api.attachWidgetAction('post', 'showStaffNotes', widgetShowStaffNotes);
api.createWidget('staff-notes-icon', {
tagName: 'span.staff-notes-icon',