mirror of https://github.com/twbs/bootstrap.git
automatic grunt dist
This commit is contained in:
parent
e4d6fbf715
commit
fbc5d8ee41
|
|
@ -2233,7 +2233,7 @@ if (typeof jQuery === 'undefined') {
|
|||
var offset = this.options.offset
|
||||
var offsetTop = offset.top
|
||||
var offsetBottom = offset.bottom
|
||||
var scrollHeight = $('body').height()
|
||||
var scrollHeight = $(document.body).height()
|
||||
|
||||
if (typeof offset != 'object') offsetBottom = offsetTop = offset
|
||||
if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue