From 2d61c6a9fb0905159a568abfe73f4d09dfc0846a Mon Sep 17 00:00:00 2001 From: Alexandre Capt Date: Mon, 2 Oct 2023 08:59:33 +0200 Subject: [PATCH] fix(lib): update scripts/aem.js to aem.js@1.3.2 (#266) Test URL: https://update-lib-aem-patch-1-3-2--aem-boilerplate--adobe.hlx.live/ Release Notes: https://github.com/adobe/aem-lib/releases/tag/v1.3.2 Co-authored-by: semantic-release-bot --- scripts/aem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aem.js b/scripts/aem.js index 6b58e222ee..af8f44a9e3 100644 --- a/scripts/aem.js +++ b/scripts/aem.js @@ -404,7 +404,7 @@ function decorateIcon(span, prefix = '') { .substring(5); const img = document.createElement('img'); img.dataset.iconName = iconName; - img.src = `${window.codeBasePath}${prefix}/icons/${iconName}.svg`; + img.src = `${window.hlx.codeBasePath}${prefix}/icons/${iconName}.svg`; img.loading = 'lazy'; span.append(img); }