function updates
This commit is contained in:
parent
aeca237b05
commit
c6dac0bb96
1 changed files with 6 additions and 6 deletions
|
|
@ -103,7 +103,7 @@ export function isConceptSessionStillActive() {
|
||||||
// --------- PRIVATE FUNCTIONS ---------
|
// --------- PRIVATE FUNCTIONS ---------
|
||||||
|
|
||||||
/* Start cookie related functions */
|
/* Start cookie related functions */
|
||||||
export function getConceptCookie() {
|
function getConceptCookie() {
|
||||||
const cookieJson = document.cookie
|
const cookieJson = document.cookie
|
||||||
?.split("; ")
|
?.split("; ")
|
||||||
?.find(row => row.startsWith(`${cookieNames.CONCEPT_SESSION_INFO}=`))
|
?.find(row => row.startsWith(`${cookieNames.CONCEPT_SESSION_INFO}=`))
|
||||||
|
|
@ -132,11 +132,11 @@ function setConceptCookieProperties(properties) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// function deleteHeritageCookie() {
|
function deleteConceptCookie() {
|
||||||
// // If this cookie is ever created from the concept funnel, will need to add another
|
// If this cookie is ever created from the concept funnel, will need to add another
|
||||||
// // line with the path=/fmg/
|
// line with the path=/fmg/
|
||||||
// document.cookie = `${cookieNames.CONCEPT_SESSION_INFO}=; Max-Age=0; path=/; domain=${location.hostname}`;
|
document.cookie = `${cookieNames.CONCEPT_SESSION_INFO}=; Max-Age=0; path=/; domain=${location.hostname}`;
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
|
||||||
/* End cookie related functions */
|
/* End cookie related functions */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue