forked from rDrama/rDrama
fds
parent
e9b0fcdd1a
commit
87889f31b5
|
@ -174,7 +174,7 @@
|
||||||
document.getElementsByClassName('userlink')[0].href = '/@' + json['username']
|
document.getElementsByClassName('userlink')[0].href = '/@' + json['username']
|
||||||
document.getElementsByClassName('userlink')[0].innerHTML = json['username']
|
document.getElementsByClassName('userlink')[0].innerHTML = json['username']
|
||||||
document.getElementsByClassName('userlink')[0].style.color = '#' + json['namecolor']
|
document.getElementsByClassName('userlink')[0].style.color = '#' + json['namecolor']
|
||||||
document.getElementsByClassName('quote-btn')[0].addEventListener("click", quote(text))
|
document.getElementsByClassName('quote-btn')[0].onclick = function() {quote(text)}
|
||||||
document.getElementsByClassName('chat-message')[0].innerHTML = text_html
|
document.getElementsByClassName('chat-message')[0].innerHTML = text_html
|
||||||
document.getElementById('chat-text').append(document.getElementsByClassName('chat-line')[0].cloneNode(true))
|
document.getElementById('chat-text').append(document.getElementsByClassName('chat-line')[0].cloneNode(true))
|
||||||
if (scrolled_down) box.scrollTo(0, box.scrollHeight)
|
if (scrolled_down) box.scrollTo(0, box.scrollHeight)
|
||||||
|
|
Loading…
Reference in New Issue