Office-Add-in-UX-Design-Patterns-Code
Office-Add-in-UX-Design-Patterns-Code copied to clipboard
Fixing a error in dismiss function
"el" may not be defined if the user dismissed the toast manually, so before removing it we must check its existence. Easy to reproduce : close the toast before it's automatically closed, you will see a js error.
@Karma-design - Thank you for your submission! We really appreciate this.
@WrathOfZombies - Can you please review this PR? Thanks!
Sorry for the delay. I'll merge this once we have the new build process so as to keep the contribution history.