aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-09-18 18:33:52 -0700
committerMark Otto <[email protected]>2014-09-18 18:33:52 -0700
commit75204aeafa3ca7759d812e93becd4a311673f3a4 (patch)
treeb76d3e6028179ae460e87a30f8b947ded72be4cb /docs/dist/js/bootstrap.js
parent0a5ba4aab2d67003388a16044b9ab652c75dbec2 (diff)
downloadbootstrap-75204aeafa3ca7759d812e93becd4a311673f3a4.tar.xz
bootstrap-75204aeafa3ca7759d812e93becd4a311673f3a4.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index 652c26618..a03ccb4a4 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -1322,7 +1322,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
var parentDim = this.getPosition($parent)
placement = placement == 'bottom' && pos.top + pos.height + actualHeight - parentDim.scroll > parentDim.height ? 'top' :
- placement == 'top' && pos.top - parentDim.scroll - actualHeight < 0 ? 'bottom' :
+ placement == 'top' && pos.top - parentDim.scroll - actualHeight < parentDim.top ? 'bottom' :
placement == 'right' && pos.right + actualWidth > parentDim.width ? 'left' :
placement == 'left' && pos.left - actualWidth < parentDim.left ? 'right' :
placement