Add error message copy button
This commit is contained in:
@@ -407,6 +407,7 @@ export class Renderer {
|
||||
const $msg =
|
||||
this.$tplErrorMessage.content.cloneNode(true).firstElementChild;
|
||||
$msg.querySelector('.message__content').textContent = message;
|
||||
$msg.dataset.copyText = message;
|
||||
this.$chat.insertBefore($msg, this.$chatLoading);
|
||||
this.scrollToBottom();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user