Commit 78cac11c authored by Gregory Pakosz's avatar Gregory Pakosz

Fixed affix-bottom positioning

Set top position to (scrollHeight - this.$element.height() - offsetBottom).
parent 91607900
......@@ -82,7 +82,7 @@
.trigger($.Event(affixType.replace('affix', 'affixed')))
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