Commit dffd4ffa authored by fat's avatar fat

Merge branch 'master' of github.com:twbs/bootstrap

parents 394e0fa6 0fab6e7e
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
.trigger($.Event(affixType.replace('affix', 'affixed'))) .trigger($.Event(affixType.replace('affix', 'affixed')))
if (affix == 'bottom') { if (affix == 'bottom') {
this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() }) this.$element.offset({ top: scrollHeight - offsetBottom - this.$element.height() })
} }
} }
......
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