diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-03 00:04:05 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-03 00:04:05 +0200 |
commit | 3edd4ce78fcf6a5384ec503249c4e1f0fb6143ff (patch) | |
tree | 35889aeeaf78fd93c3c48963cf5ce66811f65da6 /view/tpl | |
parent | 72d995d35fbf32d6997e09e3e55a5e8de8ea0d6a (diff) | |
download | volse-hubzilla-3edd4ce78fcf6a5384ec503249c4e1f0fb6143ff.tar.gz volse-hubzilla-3edd4ce78fcf6a5384ec503249c4e1f0fb6143ff.tar.bz2 volse-hubzilla-3edd4ce78fcf6a5384ec503249c4e1f0fb6143ff.zip |
ease transition between fullscreen and inline view for small screens
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/chat.tpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl index 633437069..eb219f128 100644 --- a/view/tpl/chat.tpl +++ b/view/tpl/chat.tpl @@ -119,7 +119,6 @@ $(window).resize(function () { else { adjustInlineTopBarHeight(); } - $('#chatTopBar').scrollTop($('#chatTopBar').prop('scrollHeight')); }); $('#chat-form').submit(function(ev) { @@ -197,7 +196,7 @@ function addmailtext(data) { } function adjustFullscreenTopBarHeight() { - $('#chatTopBar').height($(window).height() - $('#chatBottomBar').outerHeight(true) - $('.section-title-wrapper').outerHeight(true) - 23); + $('#chatTopBar').height($(window).height() - $('#chatBottomBar').outerHeight(true) - $('.section-title-wrapper').outerHeight(true) - 16); $('#chatTopBar').scrollTop($('#chatTopBar').prop('scrollHeight')); } |