Skip to content

Commit

Permalink
[mirotalkc2c] - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Oct 13, 2024
1 parent 51a13cc commit 2466ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ function appendMessage(name, msg) {
div.appendChild(span);
div.appendChild(p);
chatBody.appendChild(div);
chatBody.scrollTop += 500;
chatBody.scrollTop = chatBody.scrollHeight;
chatMessages.push({
time: time,
from: name,
Expand Down

0 comments on commit 2466ad5

Please sign in to comment.