Skip to content

Commit

Permalink
Remove additional instance
Browse files Browse the repository at this point in the history
  • Loading branch information
samantharamon committed Sep 11, 2024
1 parent 4edc524 commit 114a59d
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,6 @@ function containsLegalTeamMember(recipients) {
/**
* Maps the event handler name specified in the manifest to its JavaScript counterpart.
*/
if (Office.context.platform === Office.PlatformType.PC || Office.context.platform == null) {
Office.actions.associate("onMessageRecipientsChangedHandler", onMessageRecipientsChangedHandler);
Office.actions.associate("onMessageSendHandler", onMessageSendHandler);
Office.actions.associate("onSensitivityLabelChangedHandler", onSensitivityLabelChangedHandler);
}
Office.actions.associate("onMessageRecipientsChangedHandler", onMessageRecipientsChangedHandler);
Office.actions.associate("onMessageSendHandler", onMessageSendHandler);
Office.actions.associate("onSensitivityLabelChangedHandler", onSensitivityLabelChangedHandler);

0 comments on commit 114a59d

Please sign in to comment.