mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +03:00
Fixed affix-bottom positioning
Set top position to (scrollHeight - this.$element.height() - offsetBottom).
This commit is contained in:
+1
-1
@@ -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 })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user