Adieee5 commited on
Commit
e59019b
·
1 Parent(s): a7e7318

Index theme

Browse files
Files changed (1) hide show
  1. templates/index.html +1 -1
templates/index.html CHANGED
@@ -89,7 +89,7 @@
89
  const baseUrl = window.location.origin;
90
  avatar.src = msg.isUser ? `${baseUrl}/static/profile.png` : `${baseUrl}/static/JUIT_icon.png`;
91
  // avatar.src = msg.isUser ? `../static/profile.png` : `../static/JUIT_icon.png`;
92
- avatar.alt = msg.isUser ? "User" : "Bot";
93
 
94
  avatar.onerror = function () {
95
  // Fallback if image fails to load
 
89
  const baseUrl = window.location.origin;
90
  avatar.src = msg.isUser ? `${baseUrl}/static/profile.png` : `${baseUrl}/static/JUIT_icon.png`;
91
  // avatar.src = msg.isUser ? `../static/profile.png` : `../static/JUIT_icon.png`;
92
+ avatar.alt = msg.isUser ? "" : "";
93
 
94
  avatar.onerror = function () {
95
  // Fallback if image fails to load