Browse Source

Fix bottom to use bottom-margin, instead of bottom prop

pull/1785/merge
jlukic 9 years ago
parent
commit
c38cb19075
1 changed files with 2 additions and 2 deletions
  1. 4
      src/definitions/modules/sticky.js

4
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)

Loading…
Cancel
Save