Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Duy Tran committed May 2, 2024
1 parent bbab307 commit 66d6e9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,10 @@ <h2 id="player2name"> </h2>
socket.onmessage = function(event) {
console.log('Message from server: ' + event.data);
const message = JSON.parse(event.data);
document.title = "group 24" + message.versionNumber;

switch(message.type){
case 'typehash':
document.title = "group 24" + message.versionNumber;
document.title = "group 24: " + message.versionNumber;
break;

case 'Grid':
Expand Down

0 comments on commit 66d6e9f

Please sign in to comment.