diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-01 10:20:10 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-01 10:20:10 +0200 |
commit | a564f495a7f10016fd63e63ac31d515e19180727 (patch) | |
tree | d0958770ed3aac1c59fc3bb9ad249bcaab81b5f8 /view/tpl | |
parent | 5d884c2f3dddabb475e4246fc9837e1ac3b5750f (diff) | |
download | volse-hubzilla-a564f495a7f10016fd63e63ac31d515e19180727.tar.gz volse-hubzilla-a564f495a7f10016fd63e63ac31d515e19180727.tar.bz2 volse-hubzilla-a564f495a7f10016fd63e63ac31d515e19180727.zip |
improve scroll to bottom in chat
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/chat.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl index 4750f81fd..5afa7a029 100644 --- a/view/tpl/chat.tpl +++ b/view/tpl/chat.tpl @@ -119,7 +119,7 @@ $(window).resize(function () { else { adjustInlineTopBarHeight(); } - $('#chatTopBar').scrollTop($('#chatTopBar').scrollTop() + $('#chatTopBar').outerHeight(true)); + $('#chatTopBar').scrollTop($('#chatTopBar').prop('scrollHeight')); }); $('#chat-form').submit(function(ev) { |