aboutsummaryrefslogtreecommitdiff
path: root/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-11-19 11:01:04 -0800
committerChris Rebert <[email protected]>2014-11-19 11:01:04 -0800
commitdcd86a8a914f88bfa6369833e637c2030bb66aef (patch)
tree8905a6d0635eb6ee3ed103deaf011ca434c2d09a /dist/js/bootstrap.js
parent4fc8da4afdf7b53ac1327caa8a4073430913badf (diff)
downloadbootstrap-dcd86a8a914f88bfa6369833e637c2030bb66aef.tar.xz
bootstrap-dcd86a8a914f88bfa6369833e637c2030bb66aef.zip
grunt dist
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r--dist/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js
index 50a4c3cc7..7c304856b 100644
--- a/dist/js/bootstrap.js
+++ b/dist/js/bootstrap.js
@@ -2208,7 +2208,7 @@ if (typeof jQuery === 'undefined') {
var colliderTop = initializing ? scrollTop : position.top
var colliderHeight = initializing ? targetHeight : height
- if (offsetTop != null && colliderTop <= offsetTop) return 'top'
+ if (offsetTop != null && scrollTop <= offsetTop) return 'top'
if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'
return false