mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-26 03:02:12 +00:00
done with scroll to bottom
This commit is contained in:
@@ -60,6 +60,11 @@
|
||||
|
||||
<div><span id="current-user" class="text-color" style="display:none"><%= current_user.id %></span></div>
|
||||
|
||||
<script>
|
||||
const div = document.getElementById('messages-container')
|
||||
div.scrollTop = div.scrollHeight
|
||||
</script>
|
||||
|
||||
<%= javascript_pack_tag 'chatrooms' %>
|
||||
<%= javascript_pack_tag 'webrtc' %>
|
||||
<%= javascript_pack_tag 'translate' %>
|
||||
|
||||
Reference in New Issue
Block a user