add debug entries to check custom url
This commit is contained in:
parent
ea3cecbfcf
commit
80f0fa8bd9
|
|
@ -373,12 +373,7 @@
|
|||
|
||||
function handleLoggedInResponse(customUrl) {
|
||||
console.log("handleLoggedInResponse", customUrl);
|
||||
try {
|
||||
const url = new URL(customUrl);
|
||||
window.location.href = customUrl;
|
||||
} catch (e) {
|
||||
console.log("** error in handleLoggedInResponse", e, customUrl);
|
||||
}
|
||||
window.location.href = customUrl;
|
||||
}
|
||||
|
||||
function setActive(active) {
|
||||
|
|
|
|||
|
|
@ -450,10 +450,12 @@
|
|||
});
|
||||
|
||||
window.addEventListener('hashchange', function() {
|
||||
console.log("_DEBUG_ hashchange event");
|
||||
handleCustomUrlScheme();
|
||||
});
|
||||
|
||||
window.addEventListener('load', (event) => {
|
||||
console.log("_DEBUG_ load event");
|
||||
handleCustomUrlScheme();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue