From fb613b63acaf782839a58574b49c3d4c95bd7478 Mon Sep 17 00:00:00 2001 From: Abhinna Adhikari Date: Tue, 16 Feb 2021 12:06:54 -0500 Subject: [PATCH] Add ping and pong animation support --- static/js/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/js/index.js b/static/js/index.js index 6482793..5f4d258 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -186,6 +186,12 @@ function getPacketColor(packetType){ break; case 'RST': color = 'purple'; + break; + case 'PING': + color = 'pink'; + break; + case 'PONG': + color = 'black'; } return color; }