aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/chat.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-01 10:20:10 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-01 10:20:10 +0200
commita564f495a7f10016fd63e63ac31d515e19180727 (patch)
treed0958770ed3aac1c59fc3bb9ad249bcaab81b5f8 /view/tpl/chat.tpl
parent5d884c2f3dddabb475e4246fc9837e1ac3b5750f (diff)
downloadvolse-hubzilla-a564f495a7f10016fd63e63ac31d515e19180727.tar.gz
volse-hubzilla-a564f495a7f10016fd63e63ac31d515e19180727.tar.bz2
volse-hubzilla-a564f495a7f10016fd63e63ac31d515e19180727.zip
improve scroll to bottom in chat
Diffstat (limited to 'view/tpl/chat.tpl')
-rw-r--r--view/tpl/chat.tpl2
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) {