diff --git a/packages/uikit-workshop/src/scripts/components/pl-nav/nav.js b/packages/uikit-workshop/src/scripts/components/pl-nav/nav.js index 671d3b37b..a38cf006c 100644 --- a/packages/uikit-workshop/src/scripts/components/pl-nav/nav.js +++ b/packages/uikit-workshop/src/scripts/components/pl-nav/nav.js @@ -108,7 +108,7 @@ class Nav extends BaseComponent { receiveIframeMessage(event) { const self = this; - const data = iframeMsgDataExtraction(e); + const data = iframeMsgDataExtraction(event); if (data.event !== undefined && data.event === 'patternLab.pageClick') { try { diff --git a/packages/uikit-workshop/src/scripts/lit-components/pl-header/pl-header.js b/packages/uikit-workshop/src/scripts/lit-components/pl-header/pl-header.js index 05ef97363..91dc15a64 100644 --- a/packages/uikit-workshop/src/scripts/lit-components/pl-header/pl-header.js +++ b/packages/uikit-workshop/src/scripts/lit-components/pl-header/pl-header.js @@ -149,10 +149,10 @@ class Header extends BaseLitComponent { * * @param {MessageEvent} e A message received by a target object. */ - receiveIframeMessage(e) { + receiveIframeMessage(event) { const self = this; - const data = iframeMsgDataExtraction(e); + const data = iframeMsgDataExtraction(event); if (data.event !== undefined && data.event === 'patternLab.pageClick') { try { diff --git a/packages/uikit-workshop/src/scripts/lit-components/pl-tools-menu/pl-tools-menu.js b/packages/uikit-workshop/src/scripts/lit-components/pl-tools-menu/pl-tools-menu.js index 77ab3d210..fed628846 100644 --- a/packages/uikit-workshop/src/scripts/lit-components/pl-tools-menu/pl-tools-menu.js +++ b/packages/uikit-workshop/src/scripts/lit-components/pl-tools-menu/pl-tools-menu.js @@ -103,10 +103,10 @@ class ToolsMenu extends BaseLitComponent { * * @param {MessageEvent} e A message received by a target object. */ - receiveIframeMessage(e) { + receiveIframeMessage(event) { const self = this; - const data = iframeMsgDataExtraction(e); + const data = iframeMsgDataExtraction(event); if (data.event !== undefined && data.event === 'patternLab.pageClick') { try {