forked from MarseyWorld/MarseyWorld
scroll chat when textarea is clicked
parent
f1f71520bf
commit
750f045776
|
@ -179,7 +179,7 @@ socket.on('typing', function (users){
|
||||||
function scroll_chat() {
|
function scroll_chat() {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
box.scrollTo(0, box.scrollHeight)
|
box.scrollTo(0, box.scrollHeight)
|
||||||
}, 0100);
|
}, 0200);
|
||||||
}
|
}
|
||||||
|
|
||||||
scroll_chat()
|
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=3032"></script>
|
<script src="/chat.js?v=3033"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
Loading…
Reference in New Issue