Skip to content

Commit

Permalink
Code fix: Changing param name
Browse files Browse the repository at this point in the history
  • Loading branch information
bandana147 committed May 28, 2024
1 parent ddc406e commit d49c4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/global-navigation/global-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ class Gnav {
return 'linux';
};

const unavVersion = new URLSearchParams(window.location.search).get('unav') || '1.1';
const unavVersion = new URLSearchParams(window.location.search).get('unavVersion') || '1.1';
await Promise.all([
loadScript(`https://${environment}.adobeccstatic.com/unav/${unavVersion}/UniversalNav.js`),
loadStyle(`https://${environment}.adobeccstatic.com/unav/${unavVersion}/UniversalNav.css`),
Expand Down

0 comments on commit d49c4f4

Please sign in to comment.