Skip to content

Commit

Permalink
fix(lib): update scripts/aem.js to aem.js@1.3.2 (#266)
Browse files Browse the repository at this point in the history
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 <semantic-release-bot@martynus.net>
  • Loading branch information
kptdobe and semantic-release-bot authored Oct 2, 2023
1 parent 9493fc5 commit 2d61c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2d61c6a

Please sign in to comment.