Skip to content

Commit

Permalink
Bugfix URL parameters not being applied
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanH authored Feb 22, 2024
1 parent edf32fa commit 864dc00
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions html5/js/Utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,11 +588,14 @@ const Utilities = {
return window.location.queryStringParams[key];
};
}
let value = getParameter(property);
let value;
try {
value = Utilities.getSessionStorageValue(property);
} catch {
value = null;
value = undefined;
}
if (value === undefined) {
value = getParameter(property);
}
return value;
},
Expand Down Expand Up @@ -626,7 +629,7 @@ const Utilities = {
if (property in params) {
return String(params[property]);
}
return null;
return undefined;
},

setSessionStorageValue(property, value) {
Expand Down

0 comments on commit 864dc00

Please sign in to comment.