Skip to content

Commit

Permalink
Add ping and pong animation support
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinna Adhikari committed Feb 16, 2021
1 parent ade3cf1 commit fb613b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ function getPacketColor(packetType){
break;
case 'RST':
color = 'purple';
break;
case 'PING':
color = 'pink';
break;
case 'PONG':
color = 'black';
}
return color;
}
Expand Down

0 comments on commit fb613b6

Please sign in to comment.