/* ------------------------------------------------------------------------------ * * # Chat layouts * * Specific JS code additions for chat_layouts.html page * * Version: 1.0 * Latest update: Aug 1, 2015 * * ---------------------------------------------------------------------------- */ $(function() { // Scroll to bottom of the chat on page load. Mainly for demo $('.chat-list, .chat-stacked').scrollTop($(this).height()); });