forked from MarseyWorld/MarseyWorld
try now
parent
4442f6df93
commit
c7359d90b7
|
@ -112,7 +112,8 @@ function send() {
|
||||||
socket.emit('typing', false);
|
socket.emit('typing', false);
|
||||||
}
|
}
|
||||||
autoExpand(textbox);
|
autoExpand(textbox);
|
||||||
box.scrollTo(0, box.scrollHeight)
|
box.scrollTo(0, box.scrollHeight);
|
||||||
|
scroll_chat();
|
||||||
}
|
}
|
||||||
|
|
||||||
function quote(t) {
|
function quote(t) {
|
||||||
|
@ -129,7 +130,8 @@ textbox.addEventListener("keyup", function(e) {
|
||||||
if (e.key === 'Enter') {
|
if (e.key === 'Enter') {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
send();
|
send();
|
||||||
box.scrollTo(0, box.scrollHeight)
|
box.scrollTo(0, box.scrollHeight);
|
||||||
|
scroll_chat();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -214,6 +214,6 @@
|
||||||
<script src="{{asset('js/lozad.js')}}"></script>
|
<script src="{{asset('js/lozad.js')}}"></script>
|
||||||
<script src="/assets/js/lite-youtube.js?v=241"></script>
|
<script src="/assets/js/lite-youtube.js?v=241"></script>
|
||||||
|
|
||||||
<script src="/chat.js?v=3037"></script>
|
<script src="/chat.js?v=3038"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
Loading…
Reference in New Issue