1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 02:54:01 +02:00

Merge pull request #13541 from gpakosz/patch-2

Fixed affix-bottom positioning
This commit is contained in:
Jacob
2014-05-10 09:41:12 -07:00

View File

@@ -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 })
}
}