master
Aevann1 2022-03-22 16:43:43 +02:00
parent a1628b07d4
commit 952edc947e
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@
document.getElementsByClassName('userlink')[0].href = '/@' + json['username']
document.getElementsByClassName('userlink')[0].innerHTML = json['username']
document.getElementsByClassName('userlink')[0].style.color = '#' + json['namecolor']
document.getElementsByClassName('quote-btn')[0].onclick = `quote('${text}')`
document.getElementsByClassName('quote-btn')[0].onclick = quote(text)
document.getElementsByClassName('chat-message')[0].innerHTML = text_html
document.getElementById('chat-text').append(document.getElementsByClassName('chat-line')[0].cloneNode(true))
if (scrolled_down) box.scrollTo(0, box.scrollHeight)