mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-26 23:14:48 +00:00
Fixed affix-bottom positioning
Set top position to (scrollHeight - this.$element.height() - offsetBottom).
This commit is contained in:
parent
91607900c0
commit
78cac11cef
1 changed files with 1 additions and 1 deletions
|
|
@ -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 })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue