Spaces:
Build error
Build error
Update static/index.html
Browse files- static/index.html +1 -1
static/index.html
CHANGED
|
@@ -161,7 +161,7 @@
|
|
| 161 |
const chatHistory = document.getElementById("chat-history");
|
| 162 |
const messageElement = document.createElement("div");
|
| 163 |
messageElement.className = `message ${className}`;
|
| 164 |
-
const icon = sender === "User" ? '<i class="fas fa-user user-icon"></i>' : '<i class="fas fa-
|
| 165 |
messageElement.innerHTML = `${icon}<div>${message} <span class="timestamp">${new Date().toLocaleTimeString()}</span></div>`;
|
| 166 |
messageElement.onclick = function() {
|
| 167 |
const timestamp = messageElement.querySelector('.timestamp');
|
|
|
|
| 161 |
const chatHistory = document.getElementById("chat-history");
|
| 162 |
const messageElement = document.createElement("div");
|
| 163 |
messageElement.className = `message ${className}`;
|
| 164 |
+
const icon = sender === "User" ? '<i class="fas fa-user user-icon"></i>' : '<i class="fas fa-user-tie"></i>';
|
| 165 |
messageElement.innerHTML = `${icon}<div>${message} <span class="timestamp">${new Date().toLocaleTimeString()}</span></div>`;
|
| 166 |
messageElement.onclick = function() {
|
| 167 |
const timestamp = messageElement.querySelector('.timestamp');
|