fix some issues with sticky-kit

This commit is contained in:
Mario
2017-09-19 22:40:05 +02:00
parent 4500faf463
commit 962a3f7945
3 changed files with 4 additions and 6 deletions

View File

@@ -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;