mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-27 09:40:23 +00:00
Merge pull request #13541 from gpakosz/patch-2
Fixed affix-bottom positioning
This commit is contained in:
commit
0e91b85d2a
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