scroll top added
This commit is contained in:
parent
0b4166ce8a
commit
e8563b2bc5
|
|
@ -167,8 +167,7 @@
|
|||
|
||||
});
|
||||
window.setInterval(function() {
|
||||
var elem = document.getElementById('chat-log');
|
||||
elem.scrollTop = elem.scrollHeight;
|
||||
$("#chat-log").scrollTop(function() { return this.scrollHeight; });
|
||||
}, 1000);
|
||||
</script>
|
||||
@endsection
|
||||
|
|
|
|||
Loading…
Reference in New Issue