From c38cb190752b41efe48d77d29b3f87c2ce394a99 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 3 Mar 2015 17:43:48 -0500 Subject: [PATCH] Fix bottom to use bottom-margin, instead of bottom prop --- src/definitions/modules/sticky.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/definitions/modules/sticky.js b/src/definitions/modules/sticky.js index 97b7bb2fe..484fa35fa 100644 --- a/src/definitions/modules/sticky.js +++ b/src/definitions/modules/sticky.js @@ -468,7 +468,7 @@ $.fn.sticky = function(parameters) { $module .css('left' , '') .css('top' , '') - .css('bottom' , '') + .css('margin-bottom' , '') .removeClass(className.fixed) .removeClass(className.bottom) .addClass(className.bound) @@ -483,7 +483,7 @@ $.fn.sticky = function(parameters) { $module .css('left' , '') .css('top' , '') - .css('bottom' , module.cache.context.bottomPadding) + .css('margin-bottom' , module.cache.context.bottomPadding) .removeClass(className.fixed) .removeClass(className.top) .addClass(className.bound)