Spaces:
Running
Running
Index theme
Browse files- 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 ? "
|
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
|