aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-01-30 13:47:58 +0100
committerMario Vavti <mario@mariovavti.com>2016-01-30 13:47:58 +0100
commit0405a49df19663d92a8e660a4193dbf2f582f04d (patch)
treeced01660e1fec9b0e4ed1f492ff7b9409bc17b21 /view/js/main.js
parentb6543beca2f0e5e353b497099e3fa6b29bf47233 (diff)
downloadvolse-hubzilla-0405a49df19663d92a8e660a4193dbf2f582f04d.tar.gz
volse-hubzilla-0405a49df19663d92a8e660a4193dbf2f582f04d.tar.bz2
volse-hubzilla-0405a49df19663d92a8e660a4193dbf2f582f04d.zip
fix a slight regression
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 16f6b9213..220898efd 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -637,7 +637,7 @@ function updateConvItems(mode,data) {
function collapseHeight() {
var origContentHeight = parseInt($("#region_2").height());
$(".wall-item-content, .directory-collapse").each(function() {
- var orgHeight = parseInt($(this).height());
+ var orgHeight = parseInt($(this).css('height'));
if(orgHeight > divmore_height) {
if(! $(this).hasClass('divmore')) {
if($(window).scrollTop() + ($(window).height() - divmore_height) < $(this).offset().top) {