Skip to content

Commit

Permalink
MWPW-158477
Browse files Browse the repository at this point in the history
  • Loading branch information
Blainegunn committed Sep 30, 2024
1 parent 94b5c70 commit 6667bc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acrobat/blocks/verb-widget/verb-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export default async function init(element) {
errorState.classList.add('hide');
});

window.addEventListener('unity:track-analytics', (e) => {
element.addEventListener('unity:track-analytics', (e) => {
if (e.detail?.event === 'change') {
verbAnalytics('choose-file:open', VERB, e.detail?.data);
setUser();
Expand Down Expand Up @@ -225,7 +225,7 @@ export default async function init(element) {
}, 5000);
};

window.addEventListener('unity:show-error-toast', (e) => {
element.addEventListener('unity:show-error-toast', (e) => {
// eslint-disable-next-line no-console
console.log(`⛔️ Error Code - ${e.detail?.code}`);

Expand Down

0 comments on commit 6667bc9

Please sign in to comment.