Fix spinner location

This commit is contained in:
dwrz
2026-06-26 14:50:43 +00:00
parent f6fb21d40c
commit 7223d0ac79
+4 -4
View File
@@ -2218,7 +2218,7 @@ class Odidere {
this.#handleDeleteClick(e, message.id),
);
this.$chat.appendChild($msg);
this.$chat.insertBefore($msg, this.$chatLoading);
this.#scrollToBottom();
}
@@ -2250,7 +2250,7 @@ class Odidere {
$msg.querySelector('[data-action="copy"]').remove();
$msg.querySelector('[data-action="delete"]').remove();
this.$chat.appendChild($msg);
this.$chat.insertBefore($msg, this.$chatLoading);
this.#scrollToBottom();
return $msg;
}
@@ -2465,7 +2465,7 @@ class Odidere {
this.#handleDeleteClick(e, message.id),
);
this.$chat.appendChild($msg);
this.$chat.insertBefore($msg, this.$chatLoading);
this.#scrollToBottom();
}
@@ -2478,7 +2478,7 @@ class Odidere {
this.$tplErrorMessage.content.cloneNode(true).firstElementChild;
$msg.querySelector('.message__content').textContent = message;
this.$chat.appendChild($msg);
this.$chat.insertBefore($msg, this.$chatLoading);
this.#scrollToBottom();
}