Skip to content
Snippets Groups Projects
Commit 49903e41 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

added console messages for debugging

parent 52a767b6
No related branches found
No related tags found
No related merge requests found
......@@ -14,18 +14,20 @@
user: document.getElementById("username").innerText
} )
socket.on( 'creating account', function( msg ) {
socket.on( 'creating account', function() {
document.getElementById("error").innerText = "";
console.info("pre overlay");
displayloading();
console.info("post overlay");
})
socket.on( 'account ready', function( msg ) {
let element = document.getElementById("notification_window");
element.parentNode.removeChild(element);
console.info("Hello world!");
console.info("remove overlay");
refresh();
console.info("Hello world12!");
console.info("redir path");
block_to_insert = document.createElement( 'div' );
block_to_insert.innerHTML = 'REDIR TO ######' ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment