aboutsummaryrefslogtreecommitdiffstats
path: root/library/sticky-kit
diff options
context:
space:
mode:
Diffstat (limited to 'library/sticky-kit')
-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 00b1ea2ff..eb2ea8a26 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.height();
+ parent_height = parent.outerHeight(true);
if (fixed) {
fixed = false;
bottomed = false;