mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-26 09:10:24 +00:00
Merge branch 'master' of github.com:twbs/bootstrap
This commit is contained in:
commit
dffd4ffad2
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@
|
|||
.trigger($.Event(affixType.replace('affix', 'affixed')))
|
||||
|
||||
if (affix == 'bottom') {
|
||||
this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() })
|
||||
this.$element.offset({ top: scrollHeight - offsetBottom - this.$element.height() })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue