Skip to content

Commit 3e4b26e

Browse files
committed
fix: remove emoji from AI message icon
Icon circle now shows only the spinner during loading, and remains empty once the message arrives (no emoji).
1 parent a210eec commit 3e4b26e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@
10471047
if (!isPending) {
10481048
// Swap spinner icon → real avatar icon
10491049
const icon = last.querySelector('.model-icon');
1050-
if (icon) { icon.classList.remove('loading'); icon.innerHTML = '✨'; }
1050+
if (icon) { icon.classList.remove('loading'); }
10511051
}
10521052
} else {
10531053
addModelBubble(text, isPending);
@@ -3442,7 +3442,7 @@
34423442
function addModelBubble(text, isPending) {
34433443
const wrap = document.createElement('div');
34443444
wrap.className = 'bubble-wrap';
3445-
wrap.innerHTML = `<div class="bubble model"><span class="model-icon${isPending?' loading':''}">&#${isPending?'0':10024};</span><span class="model-text">${escHtml(text)}</span></div>`;
3445+
wrap.innerHTML = `<div class="bubble model"><span class="model-icon${isPending?' loading':''}"></span><span class="model-text">${escHtml(text)}</span></div>`;
34463446
document.getElementById('chat-messages').appendChild(wrap);
34473447
scrollToBottom();
34483448
}

0 commit comments

Comments
 (0)