Pepguy commited on
Commit
720be8f
·
verified ·
1 Parent(s): 3774e71

Update public/index.html

Browse files
Files changed (1) hide show
  1. public/index.html +1 -1
public/index.html CHANGED
@@ -348,7 +348,7 @@
348
  const isAtBottom = chatWindow.scrollHeight - chatWindow.clientHeight <= chatWindow.scrollTop + 20;
349
 
350
  // Strict: Only render the last 3 messages
351
- const limitedMessages = messages.slice(-5); // messages.slice(-3);
352
 
353
  chatWindow.innerHTML = limitedMessages.map(m => {
354
  let html = '';
 
348
  const isAtBottom = chatWindow.scrollHeight - chatWindow.clientHeight <= chatWindow.scrollTop + 20;
349
 
350
  // Strict: Only render the last 3 messages
351
+ const limitedMessages = messages.slice(-6); // messages.slice(-3);
352
 
353
  chatWindow.innerHTML = limitedMessages.map(m => {
354
  let html = '';