Remove console.log statements
This commit is contained in:
parent
13d0bfb190
commit
f3ac142870
|
@ -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