aboutsummaryrefslogtreecommitdiffstats
path: root/library/sticky-kit/sticky-kit.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2017-09-19 22:40:05 +0200
committerMario <mario@mariovavti.com>2017-09-19 22:40:05 +0200
commit962a3f7945df3fcc2fe533f2a645dc246fbd4dca (patch)
treebb6b5432a1c02ceac888d043b7616b935357ee26 /library/sticky-kit/sticky-kit.js
parent4500faf463e7fd6fcf9948666421c941a1292df9 (diff)
downloadvolse-hubzilla-962a3f7945df3fcc2fe533f2a645dc246fbd4dca.tar.gz
volse-hubzilla-962a3f7945df3fcc2fe533f2a645dc246fbd4dca.tar.bz2
volse-hubzilla-962a3f7945df3fcc2fe533f2a645dc246fbd4dca.zip
fix some issues with sticky-kit
Diffstat (limited to 'library/sticky-kit/sticky-kit.js')
-rw-r--r--library/sticky-kit/sticky-kit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/sticky-kit/sticky-kit.js b/library/sticky-kit/sticky-kit.js
index eb2ea8a26..00b1ea2ff 100644
--- a/library/sticky-kit/sticky-kit.js
+++ b/library/sticky-kit/sticky-kit.js
@@ -77,7 +77,7 @@
padding_top = parseInt(parent.css("padding-top"), 10);
padding_bottom = parseInt(parent.css("padding-bottom"), 10);
parent_top = parent.offset().top + border_top + padding_top;
- parent_height = parent.outerHeight(true);
+ parent_height = parent.height();
if (fixed) {
fixed = false;
bottomed = false;