From 962a3f7945df3fcc2fe533f2a645dc246fbd4dca Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 19 Sep 2017 22:40:05 +0200 Subject: fix some issues with sticky-kit --- library/sticky-kit/sticky-kit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/sticky-kit/sticky-kit.js') 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; -- cgit v1.2.3