diff --git a/src/vector/index.js b/src/vector/index.js index b7ff42cf..37ee1592 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -104,6 +104,7 @@ function parseQs(location) { // Here, we do some crude URL analysis to allow // deep-linking. function routeUrl(location) { + console.log("Routing URL "+window.location); var params = parseQs(location); var loginToken = params.loginToken; if (loginToken) { @@ -158,6 +159,7 @@ var makeRegistrationUrl = function() { window.addEventListener('hashchange', onHashChange); window.onload = function() { + console.log("window.onload"); if (!validBrowser) { return; } @@ -172,6 +174,7 @@ window.onload = function() { } function loadApp() { + console.log("Vector starting at "+window.location); if (validBrowser) { var MatrixChat = sdk.getComponent('structures.MatrixChat'); var fragParts = parseQsFromFragment(window.location);