Remove console.log statements
This commit is contained in:
parent
e76ea10fc2
commit
5f65c70401
|
@ -88,7 +88,6 @@
|
||||||
!$isActive("./admin")
|
!$isActive("./admin")
|
||||||
) {
|
) {
|
||||||
const url = window.location.pathname
|
const url = window.location.pathname
|
||||||
console.log("setting return url:" + url)
|
|
||||||
setCookie(Cookies.ReturnUrl, url)
|
setCookie(Cookies.ReturnUrl, url)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +125,6 @@
|
||||||
const returnUrl = getCookie(Cookies.ReturnUrl)
|
const returnUrl = getCookie(Cookies.ReturnUrl)
|
||||||
if (returnUrl) {
|
if (returnUrl) {
|
||||||
removeCookie(Cookies.ReturnUrl)
|
removeCookie(Cookies.ReturnUrl)
|
||||||
console.log("redirecting to return url:" + returnUrl)
|
|
||||||
window.location.href = returnUrl
|
window.location.href = returnUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue