Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsuttlemyre authored May 29, 2024
1 parent bf14c4d commit ce16447
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@

function initialize() {
// Create own peer object with connection to shared PeerJS server
peerjs = new Peer('6f06212e-614c-4ce0-86b2-4205c042fe9f', {
peerjs = new Peer('6f06212e-614c-4ce0-86b2-'+location.hash, {
debug: 2
});

Expand Down Expand Up @@ -1292,9 +1292,12 @@
}; //initialize


//if(location.pathname=='/kqDraft/'){
if(location.pathname=='/kqDraft/'){
if(!location.hash){
location.hash=prompt('give this session a name')
}
initialize();
//}
}
})();


Expand Down

0 comments on commit ce16447

Please sign in to comment.