Commit 0e91b85d authored by Jacob's avatar Jacob

Merge pull request #13541 from gpakosz/patch-2

Fixed affix-bottom positioning
parents ed98b3df 78cac11c
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
.trigger($.Event(affixType.replace('affix', 'affixed'))) .trigger($.Event(affixType.replace('affix', 'affixed')))
if (affix == 'bottom') { if (affix == 'bottom') {
this.$element.offset({ top: position.top }) this.$element.offset({ top: scrollHeight - this.$element.height() - offsetBottom })
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment