From 76433619159c76d2293c074d37ee2b4722d25a71 Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Wed, 21 Jul 2021 13:37:52 -0400 Subject: [PATCH] set height upon adding names --- BinaryDad.Coding/wwwroot/js/hub.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BinaryDad.Coding/wwwroot/js/hub.js b/BinaryDad.Coding/wwwroot/js/hub.js index 4f44e03..10c5b0d 100644 --- a/BinaryDad.Coding/wwwroot/js/hub.js +++ b/BinaryDad.Coding/wwwroot/js/hub.js @@ -89,6 +89,9 @@ .map(u => `${u.name}`); $usersList.html(`${usersList.length} users online: ${usersList.join(', ')}`); + + // set the height in case we have more than one row + setHeight(); }); connection.start().then(function () {